[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: comparing Lua with other languages
- From: Philippe Lhoste <PhiLho@...>
- Date: Tue, 04 Jan 2005 11:39:50 +0100
Philippe Lhoste wrote:
Roberto Ierusalimschy wrote:
Producer Consumer - Needs threading
Can't we use coroutines?
The test case writes about threads, but it wouldn't be the first time
the rules be "abused"... :-)
I still didn't get around the coroutines spirit :-<, so I am not sure I
can do this myself. But I would be interested to see the result :-)
Note: I think we can provide two implementations: one with pure Lua
coroutines, and another with, say, LuaThreads.
Usage of external libraries is allowed in the rules.
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- For servers mangling my From and Reply-To fields,
-- please send private answers to PhiLho(a)GMX.net
-- -- -- -- -- -- -- -- -- -- -- -- -- --