Demo code for a simple mark and sweep garbage collector inspired by the excellent explanation by Bob Nystrom:
http://journal.stuffwithstuff.com/2013/12/08/babys-first-garbage-collector/
Demo code for a simple mark and sweep garbage collector inspired by the excellent explanation by Bob Nystrom:
http://journal.stuffwithstuff.com/2013/12/08/babys-first-garbage-collector/