Hacker News new | ask | show | jobs
by munificent 3039 days ago
The paper "Accurate Garbage Collection in an Uncooperative Environment" goes over a very roughly similar technique for compiling a GC language to C in a way that lets you easily find the roots because managed objects are stuffed in structs on the C stack in a certain way.

It's a really really neat paper that I've been itching to implement for a while.