2 ms·
There's no reason it could not, at least the authors think so in principle: > Compacting garbage collection in managed languages: > Compacting garbage collect
by masklinn 8y ago
There's no reason it could not, at least the authors think so in principle:
> Compacting garbage collection in managed languages:
> Compacting garbage collection has long been a feature of languages like LISP and Java [12, 14]. Contemporary run- times like the Hotspot JVM [20], the .NET VM [19], and the SpiderMonkey JavaScript VM [7] all implement compaction as part of their garbage collection algorithms. Mesh brings the bene ts of compaction to C/C++; in principle, it could also be used to automatically enable compaction for language implementations that rely on non-compacting collectors.