Re:Understanding the code inside Tornado, the asynchronous w...
by ankrgyl on Sunday May 08, 2011 @06:58PM
(#2526919)
Remember that modern implementations of kernel threads are designed to be general-purpose. So, while a threaded model would solve the problems, it also incurs necessary overhead (that works towards solving irrelevant problems). The event-driven approach can be thought of as minimalistic user-space threads for this context. Libraries like Python Eventlet (http://eventlet.net/) and CML (http://cml.cs.uchicago.edu/) are trying to reabstract this into the conveniences of thread-style programming.
[ Parent
| on HN ]
There are no comments on this comment yet.