News for hackers. Stuff that matters.
Re:More powerful Go execution traces by philosopher1234 on Friday March 15, 2024 @11:11AM (#39716638)
Which knobs does go need?
Re:More powerful Go execution traces by tsimionescu on Friday March 15, 2024 @12:01PM (#39717245)
Fine-grained control over various GC phases and decisions (such as the level of parallelism, max pause times). Until Go 1.19, it was even missing a max memory limit, and even now it only has a soft memory limit.

Additionally, of course it would be nice to have more GC options, such as choosing between a throughput-oriented GC design and a latency-oriented one, having the option of a compacting GC of some kind to avoid fragmentation, or even having a real time GC option.

Go has chosen a very old-fashioned GC design with very few tuning parameters possible, but even so it only exposes a very basic form of control.

Re:More powerful Go execution traces by cwbriscoe on Friday March 15, 2024 @07:29PM (#39721765)
I would rather just write code and trust the existing GC than mess around with knobs all day. I suppose there are < 1% of projects that may see some benefit in messing with the GC.
Re:More powerful Go execution traces by kbolino on Saturday March 16, 2024 @11:34AM (#39726799)
I agree with most of your points but how is it "old-fashioned"? To me, that means things like reference counting or long stop-the-world pauses, neither of which are true of Go.