Skip to content

Provide comparison between PyO3 and rust-cpython #55

@ssokolow

Description

@ssokolow

When I come to the PyO3 frontpage, having never seen PyO3 before, my first questions are "how is this different from rust-cpython?" and "Why would I want to use this instead?"

So far, all I've been able to determine is:

  1. Judging by Compile with stable rust #5 and my experience using rust-cpython on stable, this adds a dependency on nightly Rust.
  2. This uses attributes rather than macros
  3. I don't remember the list of ToPyObject impls being this long in rust-cpython.

It'd be a good idea to add a blurb to the README explaining:

  1. What motivated the fork (ie. how PyO3's goals differ from rust-cpython's)
  2. What PyO3 does better
  3. What PyO3 does worse (ie. successfully compiling on stable)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions