3 ms·
Copying GC can be straight forward to implement: https://github.com/serprex/luwa/blob/d96ba8fc478813a0a65a65c6346d8ee646e5035c/rt/gc.lua https://github.com/serp
by __s 9y ago
Copying GC can be straight forward to implement: https://github.com/serprex/luwa/blob/d96ba8fc478813a0a65a65c6346d8ee646e5035c/rt/gc.lua https://github.com/serprex/luwa/blob/d96ba8fc478813a0a65a65c...
Get to punt the allocator as a bump allocator
- blt 9y agoI found the interaction between the C call stack, the implicit call stack of the interpreted language, and the garbage collector to be tricky. However, I do not see why copying would be any more tricky than compacting.