Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCould 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? |
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 :-)