Benefits of asyncio

Roy Smith roy at panix.com
Mon Jun 2 16:19:50 EDT 2014


In article <mailman.10573.1401739639.18130.python-list at python.org>,
 Terry Reedy <tjreedy at udel.edu> wrote:

> asyncio lets you write platform independent code while it makes good use 
> of the asynchronous i/o available on each particular system. Async-i/o 
> is one area where Windows has made advances over posix. But the models 
> are different, and if one uses Windows' i/o completion as if it were 
> posix poll/select, it works poorly. Running well on both types of 
> systems was a major challenge.

How would you compare using the new asyncio module to using gevent?  It 
seems like they do pretty much the same thing.  Assume, for the moment, 
that gevent runs on Python 3.x (which I assume it will, eventually).



More information about the Python-list mailing list