News for hackers. Stuff that matters.
Re:Lessons in Managing Haskell Memory by zozbot234 on Thursday April 09, 2020 @01:25PM (#22824938)
True C++/Rusty memory management would require being able to add+remove GC roots from within GC-compact regions as well. Then any object within a GC-compact region could be made to point safely to any object outside of it by simply promoting that object to a GC root, and undoing that promotion as the reference is dropped. In essence this would completely decouple the two styles of memory management while still allowing them to interact appropriately.

There are no comments on this comment yet.