-
Notifications
You must be signed in to change notification settings - Fork 2
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
asyncio vs libuv #23
Comments
please stick to pyuv (i seems well maintained and is also widely used). it's the better option in my opinion because i don't know asyncio lib very well and i think pyuv is easier to use. |
I don't know neither. The additional dependency for pyuv does not hurt, I think. However, if asyncio provides the desired platform portability, it might be ok to use that. |
I've been looking more into this but couldn't find a proper comparison of pyuv and asyncio. The only thing I did find is a talk by the creator and maintainer of pyuv about The cool thing about We don't provide support for python2 versions and I don't think we need to support python 3.x (x<5) versions either. (There is a backport for earlier versions though)
Since I haven't really looked into libuv yet, I'd go with I also do not have a good understanding of the core concepts of asynchronous I/O yet. Therefore I can't really make an informed decision on which of the two is better.. I'll try to get more into this and make an informed decision as soon as possible. |
you are totally right. maybe it's good to stick with a built in library.
correct, python2 support isn't needed.
yes, in my opinion it's also good to keep the external library footprint as small as possible, but if
i think both libraries have the exact same purpose, that's why i posted the neovim link earlier, they use |
In #8 we were talking about moving to libuv for asynchronous I/O instead of using threads and processes.
Looking into this I found the libuv implementation for python (pyuv). Sadly, the project is only maintained by one person and also adds an additional dependency to this project.
Checking for alternatives I found that python (> 3.3) has a built in library for Asynchronous I/O. Since I haven't really looked into the details of asynchronous I/O yet, I can't estimate how appropriate this is for our project. I also can't say how it differs from libuv..
@stze could you maybe take a quick look at asyncio and tell me if I should use this? Or do you think using pyuv is the better option?
The text was updated successfully, but these errors were encountered: