[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: co-routines [was Re: Unicode]
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 30 Jan 2001 08:55:40 -0200
> 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.