News for hackers. Stuff that matters.
Re:Generics can make your Go code slower by adonovan on Sunday April 03, 2022 @12:35AM (#30894491)
Identical algorithms (e.g. quicksort) run ~40x faster in Go than Ruby in a single thread due to more efficient CPU usage, even when you avoid the kinds of steps that would allocate objects in Ruby. Multiply by 64 cores and it’s easy to observe a 1000x improvement with very little difference in the code.

There are no comments on this comment yet.