lua-users home
lua-l archive

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

----- Original Message -----
> In LISP systems they use the ability of some LISP implementations to
> manipulate
> the state to do light-weight threads. That is, threads within the VM, not
> the OS.
> I wondering if this is possible in Lua and if it would be a better
> that
> multiple states since sharing state information would be as difficult(?)

I'm a big fan of using threads if they are present in the OS instead of
inventing it myself. I can also take advantage of multi-processor and other
hardware stuff to help increase performance thread-wise.