3 ms·
> Go has a garbage collector, and it's the fastest garbage collector that currently exists, by a wide margin, I believe. Fastest by what measure? I benchmarked
by apta 8y ago
> Go has a garbage collector, and it's the fastest garbage collector that currently exists, by a wide margin, I believe.
Fastest by what measure? I benchmarked some key value store implementation written in golang and ran into large (> 1 sec) latency spikes because the golang gc couldn't keep up with the large (10GB+) heap space. Java would have allowed me to select a GC algorithm that's best for my use case and I wouldn't have run into that issue.
golang's gc is tuned for latency at the expense of throughput, that's basically it. It's not some magic bullet that solved the gc issue, contrary to what the golang marketing team wants people to believe.