For programmers fond of the Go programming language, Go 1.26 is out today with two language changes, performance improvements, and other alterations to this Google-backed programming language.
Go 1.26 brings refinements to the language’s syntax and type system. One of the changes simplifies the built-in “new” function now allows its operand to be an expression. An example from the release announcement:
Go 1.26 also now allows generic types to refer to themselves in their own type parameter list to help with complex data structures and interfaces.
On the performance front, Go 1.26 now enables its previously-experimental Green Tea garbage collector by default. Green Tea can improve performance and yield lower overhead in garbage collection for real-world programs. Go 1.26’s cgo overhead has also been reduced by around 30%.
Go 1.26 also brings tooling improvements, some new experimental features such as the simd/archsimd package for SIMD operations, and much more.
Details on the Go 1.26 update at Go.dev.
