lua-users home
lua-l archive

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

On Wed, Sep 8, 2010 at 10:38 AM, Rob Kendrick <> wrote:
> Lua Lanes seems good, but I've only used it briefly.  My contribution to
> the language shootout for Mandlebrot uses popen(), but I suspect that
> might make your eyes bleed.

There is a good comparison of the options by the author of Lanes:

A summary:  true multitasking cannot be done with the same Lua state.
However, separate Lua states inhabit their own universes, so either
serialize (exchange Lua data as a string) or do state-to-state

I know built-in multithreading (like with LuaThreads) seems like an
attractive option, but likely to hit the same performance wall as
Python threads:

(in summary, does not scale up with cores, really only useful for blocking i/o)

steve d.