[Twisted-Python] Re: Synchronization techniques

Nicola Larosa nico at tekNico.net
Wed Apr 4 12:00:38 MDT 2007


Paul G wrote:
> while there are a few languages, like erlang for example, that express
> event loops with cooperative threading syntax (processes, messages and
> futures), i'm of the opinion that it's actually harmful to hide the
> event loop details from people who haven't started thinking that way yet
> - they should be simply syntactic sugar for when you've already grokked
> the model.

IIUC, the same holds true for inline callbacks, right?

http://twistedmatrix.com/documents/current/api/twisted.internet.defer.html#inlineCallbacks

-- 
Nicola Larosa - http://www.tekNico.net/

E-mail can be saved by your ISP or by the IT department
in your corporation. Gmail, for example, saves everything,
even if you delete it. -- Bruce Schneier, November 2006





More information about the Twisted-Python mailing list