Backward Compatibility, Go 1.21, and Go 2

Open link in next tab

Backward Compatibility, Go 1.21, and Go 2 - The Go Programming Language

https://go.dev/blog/compat

Go 1.21 expands Go's commitment to backward compatibility, so that every new Go toolchain is the best possible implementation of older toolchain semantics as well.

Backward Compatibility, Go 1.21, and Go 2 - The Go Programming Language

Boring is good. Boring is stable. Boring means being able to focus on your work, not on what’s different about Go. This post is about the important work we shipped in Go 1.21 to keep Go boring.

There will not be a Go 2 that breaks Go 1 programs. Instead, we are going to double down on compatibility, which is far more valuable than any possible break with the past. In fact, we believe that prioritizing compatibility was the most important design decision we made for Go 1.