News for hackers. Stuff that matters.
Re:Three kinds of memory leaks by seandougall on Monday April 30, 2018 @11:19PM (#16964362)
I’m surprised I don’t see reference cycles listed. Strictly speaking I suppose they’re a subset of “unreachable allocations”, but they have a different feel, particularly as they can occur even with GC.
Re:Three kinds of memory leaks by hawkice on Tuesday May 01, 2018 @07:02AM (#16966012)
Garbage collection can handle reference cycles -- that's why it is better than reference counting (at handling the eventual freeing of arbitrary data).