lua-users home
lua-l archive

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


Does Lua not use a stack, to allocate space for "local" objects (tables, numbers, functions) ? Or is the stack used only for the variable (refering to the object, which is allocated on the GC-managed heap ? So going out of scope, pops out the variable referring to the object on heap, and if object has no other reference, then it is queued for GC. Is that the right understanding ?

Jay