News for hackers. Stuff that matters.
Re:Friendship ended with the garbage collector by loup-vaillant on Friday August 27, 2021 @05:29AM (#28325795)
> Go has an extremely fast GC that has minimal pauses.

Actually, I've heard that Go sacrificed speed big time to minimise its pauses. Garbage collectors generally face a latency/throughput tradeoff, and I believe Go is no exception.

That said, fast GC with reasonable pauses existed long before Go. I personally know of OCaml and its generational, incremental GC. I expect Go built on that knowledge to find its own sweet spot.

Re:Friendship ended with the garbage collector by jlouis on Friday August 27, 2021 @06:05AM (#28325986)
Any memory allocation scheme faces that trade-off, more or less; especially so in a concurrent environment that also employs parallelism.
Re:Friendship ended with the garbage collector by loup-vaillant on Friday August 27, 2021 @12:37PM (#28329888)
Precisely. That’s why I was suspicious of this claim that there is a GC out there that is both "extremely fast" and has "minimal pauses". Something’s got to give.