3 ms·
This reminds me of the pain of dealing with python's twisted library, albeit before inline callbacks were implemented. Inline callbacks as implemented in pytho
by herge 14y ago
This reminds me of the pain of dealing with python's twisted library, albeit before inline callbacks were implemented.
Inline callbacks as implemented in python can make asynchronous code a lot easier to read:
http://hackedbellini.org/development/writing-asynchronous-python-code-with-twisted-using-inlinecallbacks/ http://hackedbellini.org/development/writing-asynchronous-py...
- pjscott 14y agoAnd using something like Eventlet or Gevent can make asynchronous code downright pleasant. Of the two, Eventlet has the better docs, and both are easy to get started with, and stable enough for production use: http://eventlet.net/doc/ http://eventlet.net/doc/ Give it a try! You almost definitely won't regret it!