lua-users home
lua-l archive

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


On Wed, Aug 26, 2020 at 7:55 PM Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:

> They won't.

If Lua's GC becomes so sophisticated that object moves become a
reality, it will make sense to add a third type of user data: movable
data.

And speaking of sophisticated GC, I'd like to mention some recent work
in this area, the RC Immix memory allocator, which is based on
reference counting, and which its authors believed outperformed its
contemporary state-of-the art tracing/generational collectors [1].

Being RC-based, it might be a better answer to deterministic
finalization than to-be-closed variables.

Cheers,
V.

[1] http://rifatshahriyar.github.io/files/others/rcix-oopsla-2013.pdf