VOOZH about

URL: https://www.phoronix.com/news/Go-1.24-Released

⇱ Go 1.24 Brings Performance Improvements, Better WebAssembly Support - Phoronix


👁 Phoronix

Go 1.24 Brings Performance Improvements, Better WebAssembly Support

Written by Michael Larabel in Programming on 14 February 2025 at 08:24 PM EST. 24 Comments
Go 1.24 was released this week by Google engineers as the newest step forward for this popular programming language.

Go 1.24 delivers on various performance improvements, full support for generic type aliases with the Go programming language, various Go tooling improvements, standard library additions to facilitate FIPS 140-3 compliance, the "os.Root" type in the standard library to perform file-system operations isolated under a specific directory, and improved WebAssembly support.

When it comes to the performance work within Go 1.24, the runtime CPU overhead has been decreased by 2~3% on average across various representative benchmarks. There is more efficient memory allocation of small objects, a new runtime-internal mutex implementation, and a new built-in map implementation based on Swiss Tables.

WebAssembly improvements with Go 1.24 include a new "go:wasmexport" directive for Go programs to export functions to the WebAssembly host and support for building Go programs as a WASI reactor/library.

Downloads and more information on this week's Go 1.24 release at Go.dev.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.