[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: What would _you_ like in a Lua CMS?
- From: Petite Abeille <petite_abeille@...>
- Date: Tue, 29 Sep 2009 18:16:41 +0200
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.lua
To make a long story short... as long as any of the coroutine doesn't
do anything meaningful, it's very fast :P
- References:
- What would _you_ like in a Lua CMS?, Linus Sjögren
- Re: What would _you_ like in a Lua CMS?, Leaf Storm
- Re: What would _you_ like in a Lua CMS?, Petite Abeille
- Re: What would _you_ like in a Lua CMS?, David Given
- Re: What would _you_ like in a Lua CMS?, Petite Abeille
- Re: What would _you_ like in a Lua CMS?, Leaf Storm
- Re: What would _you_ like in a Lua CMS?, Cosmin Apreutesei
- Re: What would _you_ like in a Lua CMS?, Cosmin Apreutesei
- Re: What would _you_ like in a Lua CMS?, steve donovan
- Re: What would _you_ like in a Lua CMS?, Cosmin Apreutesei