blob: d80e449d35927860a300a465bc79ec109397907d [file] [log] [blame] [view]
Brad Fitzpatrick87c535f2018-05-24 11:59:45 -07001# Go2 status
2
3This page tracks the status of "Go 2".
4
5Go 2 is in a very early, planning phase.
6
7## Bugs
8
9* [Open Go2 bugs](https://github.com/golang/go/issues?q=is%3Aissue+is%3Aopen+label%3AGo2)
Brad Fitzpatrick87c535f2018-05-24 11:59:45 -070010
11## Talks
12
13* [GopherCon 2017: Russ Cox - The Future of Go](https://www.youtube.com/watch?v=0Zbh_vmAKvk)
14* [GopherCon Russia 2018: Brad Fitzpatrick - Go: Looking back and looking forward](https://www.youtube.com/watch?v=ZCB-g2B4Y5A) (Go2 stuff is at about 20 minutes in)
15
16## Scope
17
18From talk above:
19
20* "maybe three major changes"
21* plus minor housekeep tasks
22* TBD
23
24Examples of major changes:
25
26* [generics](https://github.com/golang/go/issues/15292)?
27* [simplified, improved error handling](https://github.com/golang/go/issues/21161)?
28* ...
29
30Examples of housekeeping:
31
32* [Open Go2Cleanup bugs](https://github.com/golang/go/issues?q=is%3Aissue+is%3Aopen+label%3AGo2Cleanup) (please don't add this label to things without discussion)
33
34## Compatibility
35
36We do not want to break the ecosystem. Go 1 and Go 2 code must be able to interoperate in programs with ease.
37
38## Standard library
39
40The 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.
41
42## Roadmap
43
44TBD