3 ms·
There has been a ton of research for GC on the JVM. What are the differences between Go's approach and Java's? Are those differences due to linguistic differenc
by jeffdavis 10y ago
There has been a ton of research for GC on the JVM. What are the differences between Go's approach and Java's? Are those differences due to linguistic differences or different goals?
- cbsmith 10y agoThere was a ton of research of LISP & Smalltalk GC's prior to the advent of the JVM.
- jeffdavis 10y agoSo what are the trade-offs? Is each language re-inventing the wheel, or is it just a matter of implementation effort?
- cbsmith 10y agoI've found each language, out of expediency, often starts with a comparatively crude implementation of GC, and then gradually improves upon their work, leveraging knowledge from other platforms. That said, gc is very subtle, and each runtime has unique characteristics that mean that what works best for one might not be ideal for others.