lua-users home
lua-l archive

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


Florian Weimer wrote:
> Can the C memory region associated with a userdata object change its
> address during the lifetime of the object?

     No, Lua uses a precise non-moving incremental mark-and-sweep
collector. It does not move memory around, which would be a bad thing
for a language designed to be embedded in C.