On Friday, 18 September 2015 at 19:26:27 UTC, Rory wrote:
The new GC in Go 1.5 seems interesting. What they say about is
"To create a garbage collector for the next decade, we turned
to an algorithm from decades ago. Go's new garbage collector is
a concurrent, tri-color, mark-sweep collector, an idea first
proposed by Dijkstra in 1978."
I sometimes wonder - and please forgive me my ignorance, because
I'm not a GC expert at all - if it would be possible to create a
system where the created objects know their own life spans and
destroy themselves, once they are no longer used. Like the cells
in our bodies.