Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C bindings crate #14

Open
masklinn opened this issue Nov 1, 2024 · 0 comments
Open

C bindings crate #14

masklinn opened this issue Nov 1, 2024 · 0 comments

Comments

@masklinn
Copy link
Collaborator

masklinn commented Nov 1, 2024

I initially started working on one for CFFI as I believed pyo3 wasn't compatible with pypy or graal, but turns out it is so that's not necessary.

Might still be useful for other languages, but I can't say I have much confidence in writing a good C API myself, and have little need to besides1.

Footnotes

  1. although a cffi version would likely be more efficient than cpyext for pypy and graal, the perf gain of just cpyext compared to pure python is so huge it's not really relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant