[Baypiggies] asynch design
aahz at pythoncraft.com
Thu Feb 4 23:27:06 CET 2010
On Wed, Feb 03, 2010, K. Richard Pixley wrote:
> I'll add that threads are generally less portable, much harder to debug,
> (debuggers never work quite right), much harder to test, (those silly
> nondeterminisms!), and that it's just as easy to architect an event
> framework around asynchronous I/O which is just as intuitive as a
> threaded model. (I'm doing this now for a python project).
Beware of trying to define what is "intuitive" for anyone other than
yourself. I've tried to wrap my head around event frameworks and I find
it way more difficult than threads, particularly if you design threads
around a message-passing architecture.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
More information about the Baypiggies