24 points · by _ILLuMiNatus_ · 7y ago · 7 comments
> You can think of this like a tax that your goroutine must pay for allocating during a GC cycle, except that this tax must be paid upfront before the allocation can actually happen.
> We also do not intend to increase the GC API surface. We've had almost a decade now and we have two knobs and that feels about right. There is not an application that is important enough for us to add a new flag.
I would expect that creating "tuning knobs" for garbage collection is a complex task. Managing the garbage collector seems like it really differs across applications. Is this why the Go team hasn't added any more ability to adjust how the garbage collector runs?
If an autopilot can be done well, it's much better. This article reveals a spot where Go's autopilot goes haywire, but the general typical experience is much better than this.
The JVM already runs on systems with 100s of GB and more (even TBs). golang will have issues running on such systems.