lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



LuaTask really seems to be missing from the list.

If any of you would be kind enough to post me a concise profile of it, I'll be happy to place it among the rest.

A comparison to LuaTask is actually even more interesting, since the approaches seem to be closest to each other. Maybe I did Lanes simply since I hadn't found LuaTask at the time?

-asko


gary ng kirjoitti 11.11.2007 kello 9:11:


--- Nathan Youngman <junkmail@nathany.com> wrote:


Asko Kauppi wrote:
Please try it together with Lua Lanes for
multithreading. Lanes
should take care of all the threading stuff,
seamlessly (no locking).

Thanks for the suggestion Asko. I just went through
the comparison of
threading kits:

http://kotisivu.dnainternet.net/askok/bin/lanes/index.html#comparisons

Thanks for the pointer.

I don't see a comparision between lua lane and luatask
as both seem to be using similar approach(i.e.
independent lua state with message passing running in
seperate OS threads).

Another issue which I don't see people mentioning is
how to properly clean up these lua states. My
experience with 'rings' is that for certain third
party modules(say the luasql.mysql binding), it is
impossible to properly clean up a lua state(memory
leaks). So both lua lane and luatask if used in the
erlang manner(repetitively create and destroy states
like function calls), would have issues for writing
daemon process.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com