Advanced concurrancy

jemfinch at gmail.com jemfinch at gmail.com
Thu Jul 28 13:41:54 EDT 2005


Asynchrony is not concurrency.  If you have to turn your code "inside
out," (that is, if you have to write your code such that the library
calls your code, rather than vice versa) it's very much *not*
concurrency: it's just asynchrony.

While Twisted makes asynchronous code relatively easy to write and
maintain, it's just not concurrency.  I can't simply drop my
single-threaded code into it and have it work, like I can with a truly
concurrent system.

Jeremy




More information about the Python-list mailing list