Hacker News new | past | comments | ask | show | jobs | submit login

The Go team has members with decades of experience writing garbage collection algorithms, including on the JVM, so it's not starting from scratch.

Go has value types and stack allocation that allow it to create _far_ less garbage than Java and means its heap objects violate the generational hypothesis-- because shortlived objects tend to stay on the stack. This means that the Go GC can comfortably operate with far less GC throughput than typical Java programs.

https://go.dev/blog/ismmkeynote




Java has done escape analysis and scalar replacement since 6.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: