4 ms·
Sorry, I seem to have partly confused this with another approach, but can't find the paper at the moment. That being said, it does read like it uses similar ap
by darksaints 6y ago
Sorry, I seem to have partly confused this with another approach, but can't find the paper at the moment.
That being said, it does read like it uses similar approaches to automated reference counting: code is inserted by the compiler to manage reference counts and eventually dispose of objects when no longer referenced. It also appears that there are approaches toward using regions and linear types where possible. I think the takeaway though is that ASAP makes as many decisions as it possibly can to statically enforce memory safety and reclamation, but building a finely grained program-specific approach toward garbage collection for anything else. Literally every distinct program would result in a distinct garbage collector tailored to that program that is inlined into the code.