Skip to content
Sean Liao edited this page Jan 22, 2022 · 7 revisions
Clone this wiki locally

Go2 status

This page tracks the status of "Go 2".

We are currently seeking feedback on potential designs for improved error handling, error values, and generics:

Bugs

Talks

Scope

From talk above:

  • "maybe three major changes"
  • plus minor housekeep tasks
  • TBD

Examples of major changes:

Examples of housekeeping:

Compatibility

We do not want to break the ecosystem. Go 1 and Go 2 code must be able to interoperate in programs with ease.

Standard library

The standard library would probably be versioned and permit out-of-cycle updates, but be included with Go releases. Maybe "encoding/foo" become shorthand for "golang.org/x/std/encoding/foo". TBD. Some package would probably get v2 major versions, but the v1 versions would be minimally maintained, at least for security.

Roadmap

TBD