Hasty Briefsbeta

Bilingual

Go 1.26 Is Released

3 months ago
  • #Go 1.26
  • #Programming
  • #Release
  • Go 1.26 is released with binary archives and installers available on the download page.
  • Language changes include allowing the 'new' function to take an expression as its operand and enabling generic types to refer to themselves in their type parameter list.
  • Performance improvements feature the default enablement of the Green Tea garbage collector, a 30% reduction in cgo overhead, and better stack allocation for slices.
  • Tool improvements include a rewritten 'go fix' command with modernizers and an inline analyzer.
  • New experimental packages include 'simd/archsimd', 'runtime/secret', and a 'goroutineleak' profile in 'runtime/pprof'.
  • Three new standard library packages added: 'crypto/hpke', 'crypto/mlkem/mlkemtest', and 'testing/cryptotest'.
  • Encouragement for users to try experimental features and provide feedback for future versions of Go.