Re:Proposed New Go GC: Transaction-Oriented Collector
by Jweb_Guru on Friday June 24, 2016 @02:06PM
(#11972034)
It's also not exactly original to Go... the Ur language, for instance, employs a request-oriented collector (arguably, though the documentation claims it does not use garbage collection).
[ Parent
| on HN ]
Re:Proposed New Go GC: Transaction-Oriented Collector
by ezyang on Friday June 24, 2016 @03:01PM
(#11972474)
Ur/Web uses region based memory management. Details are in http://adam.chlipala.net/papers/UrWebICFP15/ search for "memory management".
Re:Proposed New Go GC: Transaction-Oriented Collector
by Jweb_Guru on Friday June 24, 2016 @04:19PM
(#11973116)
Thanks for the link! I was actually at that talk :) To quote from the relevant slide:
* Transactions are integrated into Ur/Web at a deep level, so, whenever we run out of space, we can always abort the execution, allocate a larger heap, and restart.
* As a further optimization, we use region-based memory management, inferring a stack structure to allow freeing whole sets of objects at key points during execution.