Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mpirstitz
· 8y ago · 0 comments
Here's my own attempt at implementing a somewhat readable copying GC in C -
https://github.com/matp/tiny-lisp/blob/master/tiny-lisp.c#L1...
Comments
[–]
krig
8y ago
Cool, that's an interesting solution! I tried hard to keep the GC implementation as straight-forward as possible, as a teaching aid, but I'll admit that debugging the GC was a bit of a struggle when roots weren't clearly indicated as such.