lua-users home
lua-l archive

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


Mike Pall wrote:
> Q: Which of the extra features of Coco/LuaJIT are useful for you?
>    1. yield() across pcall().
>    2. yield() across iterators (for x in my_iter() do ...).
>    3. yield() across metamethods (__index, __add, ...).
>    4. yield() across callbacks from (your own) C functions.
>    5. lua_yield() from (your own) C functions and resume back to them.
> 
> [I'm interested in feedback from all users.]

2 would be really nice, but iirc (correct me if that's wrong) it's not
supported in pure Lua. That means that people using that feature
(directly or indirectly) would be forced to use a JIT-ed Lua.