News for hackers. Stuff that matters.
Re:Reference count, don't garbage collect by kaba0 on Saturday July 30, 2022 @02:02AM (#32284642)
I meant hack as in languages meant for primarily for manual memory can still have RC (rust, C++), but that will only be a conservative GC algorithm due to no cycle detection. My use of hack here was only to denote that library-only RC , while possible, may not be the best approach and is used as an escape hatch in rare cases.
Re:Reference count, don't garbage collect by eru on Saturday July 30, 2022 @10:28PM (#32292597)
Oh, ok. That makes sense. Though I would count the Boehm Garbage Collector as a hack then, too?

Apropos hacks, have a look at this memory management 'thing' that doesn't move, but manages to compact: https://github.com/plasma-umass/Mesh