Go 1.26 Released with New Garbage Collector and Language Refinements
The Go team has officially released Go version 1.26, introducing significant enhancements to the programming language's performance, syntax, and tooling. A major highlight is the default enablement of the Green Tea garbage collector, alongside a 30% reduction in cgo overhead and improved stack allocation for slices. Language changes include allowing the built-in new function to accept expressions for initial values and enabling generic types to self-reference in type parameter lists. The go fix command has been rewritten using the Go analysis framework, incorporating modernizers to help developers update code safely. Additionally, three new standard library packages were added: crypto/hpke, crypto/mlkem/mlkemtest, and testing/cryptotest. Experimental features such as the simd/archsimd package for SIMD operations, runtime/secret for secure memory erasure, and goroutine leak profiling are also introduced. This release aims to improve developer productivity and application efficiency, with further detailed explanations promised in upcoming blog posts. Users are encouraged to download the binary archives from the official website and provide feedback on experimental features.
Wire timeline
Go 1.26 Released with New Garbage Collector and Language Refinements
The Go team has officially released Go version 1.26, introducing significant enhancements to the programming language's performance, syntax, and tooling. A major highlight is the default enablement of the Green Tea garbage collector, alongside a 30% reduction in cgo overhead and improved stack allocation for slices. Language changes include allowing the built-in new function to accept expressions for initial values and enabling generic types to self-reference in type parameter lists. The go fix command has been rewritten using the Go analysis framework, incorporating modernizers to help developers update code safely. Additionally, three new standard library packages were added: crypto/hpke, crypto/mlkem/mlkemtest, and testing/cryptotest. Experimental features such as the simd/archsimd package for SIMD operations, runtime/secret for secure memory erasure, and goroutine leak profiling are also introduced. This release aims to improve developer productivity and application efficiency, with further detailed explanations promised in upcoming blog posts. Users are encouraged to download the binary archives from the official website and provide feedback on experimental features.
The Go Blog