|
On Sep 29, 2009, at 1:04 PM, Cosmin Apreutesei wrote:
Like Xavante ;) ?Like a non-blocking version of Xavante :)
Right, and that points out one of the main issue with using coroutine (e.g. Copas) as a substitute for multi threading/processing: it just doesn't pan out.
"A long time ago in a galaxy far, far away..." I went down that road of implementing a coroutine based HTTP engine:
http://dev.alt.textdrive.com/browser/LW http://dev.alt.textdrive.com/browser/lu/SocketRunLoop.luaTo make a long story short... as long as any of the coroutine doesn't do anything meaningful, it's very fast :P