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

Go has an advantage in the niche cases where you can get away with value types. But that is a very rare use case, reminiscent of embedded programs. You almost always need heap allocations, especially for long running, large apps — and Java has the state of the art GC implementation on both throughput and low-latency front.


Well your "niche" use case is one of the reason why Go uses less memory than Java most of the time.




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

Search: