News for hackers. Stuff that matters.
Re:Baby's First Garbage Collector by city41 on Sunday December 08, 2013 @05:16PM (#6871689)
Does this still work if the GC compacts memory? I don't know much about GCs, but it seems like once your GC is advanced enough with generational collecting, compacting, etc, then allowing raw pointers seems at odds with what the GC is trying todo. I'm sure it's possible, but it's probably a heck of a lot easier just to not allow pointers.
Re:Baby's First Garbage Collector by rayiner on Sunday December 08, 2013 @05:39PM (#6871789)
It works fine as long as you have enough type information to know what is and is not a pointer.