← Back to context

Comment by pjmlp

13 hours ago

Agreed, however there is also a reason why the best ones also pack multiple GC algorithms, like in Java and .NET, because one approach doesn't fit all workloads.

Then there’s perl, which doesn’t free at all.

  • Perl frees memory. It uses refcounting, so you need to break heap cycles or it will leak.

    (99% of the time, I find this less problematic than Java’s approach, fwiw).

  • doesn't java also?

    I heard that was a common complaint for minecraft

    • Minecraft for somewhat silly reasons was largely stuck using Java8 for ~a decade longer than it should have which meant that it was using some fairly outdated GC algorithms.