-
Notifications
You must be signed in to change notification settings - Fork 548
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
Could uvloop be implemented using CFFI? #32
Comments
Once PyPy implements Python 3.5 and is stable, we'll look into this. Theoretically, it's not that difficult to rewrite uvloop with pure Python + CFFI. |
That's good to know. Thanks for answering my question! |
NP. Let's keep this issue open, as this question periodically comes up. |
@1st1 by the way, you can already play around PyPy3.5, there's nightly builds: |
@1st1 the time has come! |
I'll take a look soon :) |
Referencing another discussion: #82 |
https://github.com/saghul/pyuv already implements a CFFI extension that works on PyPy3 beta. |
@thedrow |
@thedrow , @1st1, I found this uvloop CFFI extension - https://github.com/koehlma/uv/ |
Seems like the CFFI extension is no longer maintained :( |
Maybe it is worth seeing what is necessary to make the existing Cython code work on PyPy. Cython supports cpyext for PyPy and PyPy has done some recent work to improve cpyext speed. Have people explored this path? If so, what are the known issues today? |
I'm writting an PyPy binding using CFFI for and webserver, and i really need an CFFI version, so i think i will start to write an CFFI extension for PyPy using uvloop as reference, is that ok? |
@cirospaciari We're hoping Cython could emit HPy extension code in the future which will allow uvloop to run on multiple platforms easily. |
Related issue ( cython/cython#4197 ) |
Could uvloop be implemented using CFFI? How hard would it be to do so?
I ask because at some point in the future PyPy3 will reach compatibility with Python 3.5 (It could be a while, but PyPy3 3.3 is in alpha right now so there is hope :-) and it would be really great if uvloop were usable on it :-)
The text was updated successfully, but these errors were encountered: