News: 0001569071

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Go 1.25 Released With Experimental GC Yielding 10~40% Overhead Reduction

([Programming] 4 Hours Ago Go 1.25)


Go 1.25 is out today as the newest half-year update to this popular programming language. What I find most exciting with Go 1.25 is the new experimental garbage collector yielding 10~40% reduction in overhead.

Go 1.25 ships a new experimental garbage collector designed to improve performance particularly around small objects for better locality and CPU scalability. In real-world workloads the Go developers are reporting a 10-40% reduction in garbage collection overhead. The garbage collector can be enabled at build-time via the "GOEXPERIMENT=greenteagc" setting.

Go 1.25 also brings improvements to the Go command, new "waitgroup" and "hostport" analyzers with the "go vet" command, container-aware GOMAXPROCS, the new trace flight recorder API, DWARF version 5 support with the Go compiler and linker, faster slices, and a wide variety of library improvements.

Go 1.25 downloads and more details on this new release via [1]go.dev .



[1] https://go.dev/doc/go1.25#runtime



phoronix

You see, I consider that a man's brain originally is like a little empty
attic, and you have to stock it with such furniture as you choose. A fool
takes in all the lumber of every sort he comes across, so that the knowledge
which might be useful to him gets crowded out, or at best is jumbled up with
a lot of other things, so that he has difficulty in laying his hands upon it.
Now the skilful workman is very careful indeed as to what he takes into his
brain-attic. He will have nothing but the tools which may help him in doing
his work, but of these he has a large assortment, and all in the most perfect
order. It is a mistake to think that that little room has elastic walls and
can distend to any extent. Depend upon it there comes a time when for every
addition of knowledge you forget something that you knew before. It is of
the highest importance, therefore, not to have useless facts elbowing out
the useful ones.
-- Sir Arthur Conan Doyle, "A Study in Scarlet"