[Twisted-Python] Flow, generators, coroutines etc.

zooko at zooko.com zooko at zooko.com
Mon May 29 13:30:42 EDT 2006


Mark Miller (whose recently completed dissertation is available [1]), recently
summarized in one sentence why event-based concurrency is safer than
cooperative multithreading.  He said (quoting from memory): "The difference is
that in an event-based system, when you invoke a function and the function
returns, then you know that the only side-effects that could have happened are
side-effects that *that* function was authorized to cause."

Regards,

Zooko

[1] http://erights.org/talks/thesis/index.html




More information about the Twisted-Python mailing list