lua-users home
lua-l archive

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

> ps. Built in co-routines would make me really, really happy.

Lua 4.1 will have full support for co-routines (and multi-threads) 
implemented *outside* Lua. That means multiple stacks sharing the same 
global environment plus macros to allow lock/unlock accesses to the state. 
On most machines, some tricks with setjmp/longjmp or a few lines of 
assembler, in a library outside Lua, will be enough to implement 

But Lua 4.1 will not be "stackless"; that would compromise its neat 
integration with C. 

-- Roberto