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

HPy support #88

Open
koubaa opened this issue Jul 14, 2022 · 3 comments
Open

HPy support #88

koubaa opened this issue Jul 14, 2022 · 3 comments
Assignees

Comments

@koubaa
Copy link
Contributor

koubaa commented Jul 14, 2022

Hello!

Supporting HPy - an alternative for the CPython C API could offer some benefits for cinder. Some python libraries have branches which support the HPy API - and while it is slower by default when used as a shim on top of the standard CPython implementation - it removes implementation details from the CPython C API, which buys options to make different choices (JIT, garbage collector, etc) like those made here in cinder. CPython extension modules that target the HPy API would Just Work with any python runtime that supports HPy - which means you don't have to change your C API to match changes from 3.9+.

@itamaro
Copy link
Contributor

itamaro commented Jul 14, 2022

thanks for bringing this up @koubaa ! this is something @tekknolagi mentioned recently as well.

iiuc HPy support isn't really relevant to the cinder/3.8 branch, but would be relevant once we complete the cinder/3.10 port.
since cinder is mostly compatible with cpython C APIs, I believe full HPy support should be attainable once cinder/3.10 becomes our main branch in a couple of months.

@tekknolagi
Copy link
Contributor

I am very interested in poking at this after our 3.10 upgrade

@dmarx
Copy link

dmarx commented Jul 7, 2023

bumping since apparently 3.10 upgrade is complete

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

4 participants