[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Do strings move around?
- From: Viacheslav Usov <via.usov@...>
- Date: Wed, 26 Aug 2020 20:14:41 +0200
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