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

Support alternative CPython e.g. register-based? #242

Closed
PallHaraldsson opened this issue Nov 4, 2022 · 1 comment
Closed

Support alternative CPython e.g. register-based? #242

PallHaraldsson opened this issue Nov 4, 2022 · 1 comment

Comments

@PallHaraldsson
Copy link
Contributor

PallHaraldsson commented Nov 4, 2022

I'm mostly letting you know such exists, 5% faster, and we're not dependent on Python for speed (though it's always better). Maybe it will be upstreamed eventually.

faster-cpython/ideas#485 (comment)

this 3.10 fork is API and ABI compatible with CPython

https://github.com/zq1997/RegCPython
https://dl.acm.org/doi/10.1145/3568973

It's not high-priority to support it, some other alternatives might also be worthwhile, PyPy and Pythran, but that one might be more compatible. At least you could consider it as an opt-in.

@cjdoris
Copy link
Collaborator

cjdoris commented Nov 17, 2022

PythonCall is very much tied to CPython - but if some other implementation is ABI compatible with it then swapping should be easy - as simple as specifying a different libpython.

On the other hand supporting PyPy and other implementations would be significant effort, but possible.

Personally, I'm never going to make that effort, so it would be up to some other keen contributor.

@cjdoris cjdoris closed this as completed Nov 17, 2022
@PallHaraldsson PallHaraldsson changed the title Support alternative CPyton e.g. register-based? Support alternative CPython e.g. register-based? Nov 25, 2022
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

2 participants