News for hackers. Stuff that matters.
Re:For Better Computing, Liberate CPUs from Garbage Collection by tomp on Thursday May 09, 2019 @01:39PM (#19870355)
I agree, the model of lock-free data structures is pretty much perfect for reference counting (no cycles, shallow reference tree... just needs to be thread-safe). I wonder then why epoch-based approaches are used, which (sound like they) are more difficult / tricky to implement... I honestly have no idea. The only thing that comes to mind is that they seem to require another atomic primitive (atomic increment, otherwise lock-free data structures only require compare-and-swap), which might not be available on all platforms...

There are no comments on this comment yet.