4 ms·
> You'd think it would be "solved" by now... Or is that just in Java world? I'm not sure what you mean but I'll try to relate. Automatic garbage collection is
by nayuki 4y ago
> You'd think it would be "solved" by now... Or is that just in Java world?
I'm not sure what you mean but I'll try to relate. Automatic garbage collection is a problem not just in the Java world. It's also needed in JavaScript, Python, Go, Haskell, etc.
Citation needed, but I suspect the Java Virtual Machine ecosystem has the most advanced GC algorithms in the world. Even if that's not true, I can tell you with certainty that other language environments have adopted features many years after Java did, such as JavaScript V8 introducing concurrent generational copying in year 2017 ( https://v8.dev/blog/orinoco-parallel-scavenger https://v8.dev/blog/orinoco-parallel-scavenger ). I'm sure there are examples in Go as well where their GC implemented features that Java had a decade earlier.
- kaba0 4y agoThe JVM is definitely the state of the art when it comes to GC algorithms.