Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


There was a ton of research of LISP & Smalltalk GC's prior to the advent of the JVM.


So what are the trade-offs? Is each language re-inventing the wheel, or is it just a matter of implementation effort?


I'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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: