The Trash Man - A Garbage Collector
The Trash Man is an implementation of a 2-space garbage collector in Racket. It uses 4 addresses as pointers, and splits the rest of the heap into 2 sections: the to-space and the from-space. The 4 pointers used are the allocation pointer, the start of the from space, and the start and end of the garbage collection queue. The code can be found here https://github.com/damondamico/trashman.