-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add Python cffi example #58
Comments
Do you have any feedback on why one would prefer cffi vs ctypes? What use cases is one suited for compared to the other? |
Additionally, would you suggest using the "API" layer or the "ABI" layer? |
cffi supports PyPy and it does not link to libpython so it's easier to use threads. API layer obviously, here is a setuptools/wheel/cffi extension which supports Rust https://github.com/getsentry/milksnake |
+1 |
https://cffi.readthedocs.io/en/latest/
The text was updated successfully, but these errors were encountered: