[Twisted-Python] Very interesting....

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Sat Apr 24 21:25:50 EDT 2010

On 01:13 am, jasonjwwilliams at gmail.com wrote:
>I didn't notice the benchmarks...good catch. I was more interested in
>the conciseness or lack thereof with the various frameworks. Very
>surprised that Twisted was nearly as clean and easy to read as the
>Eventlet example.

This comparison (in the blog post) makes the same mistake that many such 
comparisons make.  The division of libraries into the arbitrary 
categories of "reactor model" and "coroutine" is artificial.

See corotwine for an example of using Twisted and coroutines.  And see 
txwsgi (announced here a week or two ago by Manlio Perillo) for a 
Twisted-based wsgi container which supports applications that look 
almost identical to the eventlet/gevent wsgi applications used in this 

And take a look at how eventlet and gevent are implemented, and you'll 
find something that's essentially the same as a Twisted reactor.


More information about the Twisted-Python mailing list