Hacker News new | ask | show | jobs
by kaba0 1494 days ago
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.
1 comments

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