News for hackers. Stuff that matters.
Re:Garbage Collection by alexisread on Saturday November 30, 2019 @08:25PM (#21673200)
I'd agree that mutability is an issue with GC, in fact some LISPs like Losak are deterministic simply by being entirely functional:

http://losak.sourceforge.net/

It is true that you can get cyclical refs higher up in the language even with functional code though, and at some level you need a cycle checker.

There is another type of managed memory not talked about much, and that's the model used by Composita- RAII but with defined message interfaces between modules, such that you can deterministically allocate memory for that:

http://concurrency.ch/Content/publications/Blaeser_ETH_Diss_...

It looks to be the best way of doing deterministic performant memory management, though you'll need a cycle checker in the language runtime.

There are no comments on this comment yet.