stackless vs greentlet source
Emulating Stackless Python using greenlet http://ptspts.blogspot.com/2010/01/emulating-stackless-python-using.html
Syncless is a non-blocking (asynchronous) concurrent client and server
socket network communication library for Stackless Python 2.6 (and also
for regular Python with greenlet). For high speed, Syncless uses libev
(and libevent) for event notification, and parts of Syncless' code is
implemented in Pyrex/Cython and C. This alone makes Syncless faster than
many of its non-blocking network libraries for Python. Syncless
contains an asynchronous DNS resolver (using evdns) and a HTTP server
capable of serving WSGI applications. Syncless aims to be a
coroutine-based alternative of event-driven networking engines (such as
Twisted, asyncore, pyevent, python-libevent and FriendFeed's Tornado),
and it's a competitor of gevent, Eventlet and Concurrence.
http://code.google.com/p/syncless/
查看更多关于stackless vs greentlet source的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did44145