I’m interested in how garbage collection works. I’ve read up on how some work such as mark-and-sweep, stop-and-copy, generational GC, etc… I’d like to experiment with implementing some of these and comparing their behaviors. What’s a good way to get started experimenting with my own? Ideally something in C, Java or Python (although the last two are themselves garbage-collected so it seems it’d be hard to use them…)
Share
Never played with it myself, but the one that always gets mentioned for use with C/C++ is Hans Boehm’s.