News for hackers. Stuff that matters.
Re:Ask HN: Why do langs with alleged “automatic memory manag... by tjansen on Friday July 19, 2019 @03:48AM (#20476893)
Java's GC does it. When a reference becomes unreachable, it will automatically free the resource. That's not the issue. The issue is that GCs are not predictable. All current implementations either have issues with circular references, or they run infrequently and may even need several runs to clean up complex structures. So it may take a while until an unused resource becomes available again, and you don't know when.

There are no comments on this comment yet.