3 ms·
The question to ask is: Have people switched away from Go for certain applications in order to get better CPU-bound performance? Yes, they have. GC throughput
by pcwalton 8y ago
The question to ask is: Have people switched away from Go for certain applications in order to get better CPU-bound performance? Yes, they have.
GC throughput is one part of the reason why Go code is often suboptimal for CPU-bound workloads. Adding a generational GC won't solve this, but it's bound to help.
- weberc2 8y agoI don’t think “has anyone ever switched from Go...” is particularly meaningful. Is the switch common? I’ve only heard of a handful (like 3) of cases where people tried optimizing Go and found it to be lacking, and those cases were at the extreme end of the performance spectrum. Also, Go will never be optimally performant because it chooses to balance performance with competing concerns (safety, simplicity, etc), so its unclear in those cases whether the suboptimalism was due to Go’s GC scheme or to other trade offs.