Go 1.18 Released With Generics, Fully Integrated Fuzzing, ~20% Performance Improvements

Written by Michael Larabel in Programming on 15 March 2022 at 03:24 PM EDT. 41 Comments
PROGRAMMING
Go 1.18 is out today as a significant update to this Google-backed programming language while continuing to still maintain Go 1.x compatibility.

Go 1.18 on the language side most notably adds support for generics using type parameters. Google engineers believe their generics implementation is high quality and well implemented but still needs to undergo additional developer testing and any feedback.

Go 1.18 also adds fuzzing support integrated into its standard toolchain for better code testing. Go 1.18 additionally adds a "workspace" mode for making it easier to work with multiple modules.

Equally exciting with Go 1.18 are performance improvements, which can be upwards of 20% faster thanks to the expansion of Go 1.17's register ABI calling convention. ARM64 / Apple M1 / PowerPC 64-bit should benefit the most from these performance improvements.

More details on today's Go 1.18 release via the Go.dev blog and the release notes.
Related News
About The Author
Michael Larabel

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.

Popular News This Week