Go Turns 17: Key Changes in Go 1.26 and 1.27
The Go Blog marked 10 November as the 17th anniversary of Go's open source release. Over the past year, Go 1.26 came out in February and Go 1.27 in August, along with steady releases of the golang.org/x libraries and developer tools. Go 1.27 added generic methods on non-interface types, such as the new Rand.N method in math/rand/v2, which removes a limit that dated back to the first generics in Go 1.18[1].
The new encoding/json/v2 and encoding/json/jsontext packages reached general availability in Go 1.27 after six years of work, offering safer defaults and up to 10× faster unmarshaling. The original encoding/json package is now implemented on top of v2, so existing code gets faster unmarshaling after an upgrade. The goroutine[2] leak profiler became generally available in Go 1.27 and helps find goroutines that stay blocked forever in production services. Go 1.27's HTTP transport now drains small unread response bodies on close, which gives up to a 5× speedup for sequential HTTP/1 requests.
The Green Tea[3] garbage collector became the default in Go 1.26 and reduces garbage collection overhead by 10–40% in real-world workloads. Go 1.26 and 1.27 also added two experimental SIMD[4] packages: simd/archsimd for low-level access to vector instructions, and simd, a higher-level API that is portable across architectures.
Read the original go.devDiscussion
Discussion
Commenters mostly praise Go's fast compilation, simple deployment, and tooling, and some say they keep coming back to it. Others say error handling and enums keep them from using it, and one compares Go's maturity to Python 3.0 and Java 7.
Sources
-
go.dev
Go Turns 17 - The Go Programming Language
-
KRGeekNews KO
Go, 17주년을 맞다


