lua-users home
lua-l archive

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


>I assume the Lua stack resides on the C heap so it doesn't have any effect on 
>the C stack (correct?).

Starting with Lua 5.0, if this is largely true. In other words, if your script
does not call any C functions, then no C stack is consumed (except locally, to
execute bytecode instructions). Note, however, that if you use tag methods,
then you do use C stack, even if your tag methods are written in Lua.
--lhf