Golang 1.26

Go 1.26 programming language featuring the 'Green Tea' garbage collector for 10-40% reduced overhead, pointer initialization with new expressions, generic self-reference support, and significant standard library performance gains including 2x faster io.ReadAll.

Programming Containers Kubernetes
License: BSD-3-Clause

Available Platforms

Docker Hub

View on platform

Kubernetes

View on platform

OpenShift

View on platform

Rancher

View on platform

Details

This image features Go 1.26, the stable release of the Go programming language, designed to enhance performance, it was released February 2026.

The most significant updates in Go 1.26 are heavily focused on performance and language refinements. A major highlight is the ‘Green Tea’ Garbage Collector, now enabled by default, which improves locality and CPU scalability, reducing GC overhead by 10–40% for most programs. The language itself adds a powerful convenience with new expressions, allowing pointers to be initialized with values directly (e.g., new(time.Now())). Additionally, Go 1.26 lifts restrictions on generic self-reference, enabling more complex recursive type constraints. Performance gains extend to the standard library, where io.ReadAll is now 2x faster, and cgo call overhead has been reduced by ~30%. The release also introduces the errors.AsType generic function for type-safe error handling and new packages like crypto/hpke for hybrid public key encryption.