4 ms·
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 a
by kaba0 5y 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.
- Thaxll 5y agoWell your "niche" use case is one of the reason why Go uses less memory than Java most of the time.