|
|
|
|
|
by correct_horse
2329 days ago
|
|
I think the bigger problem with Go is a lack of GC options. Java, on the other end of the spectrum has multiple GC algorithms (i.e. the Z garbage collector, Shenandoah, Garbage-First/G1) each with tunables (max heap size, min heap size, for more see [1]). Java other issues, but it solves real business problems by having so many garbage collector tunables. Go's philosophy on the matter seems to be that the programmer shouldn't have to worry about such details (and GC tunables are hard to test). Which is great, until the programmer does have to worry about them. [1] https://docs.oracle.com/javase/9/gctuning/garbage-first-garb... |
|
That real business problem is Java generates boat load of garbage so GC needs a lot more performance tuning to make application run normal.