]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc: 1.20 compiler changes
authorDavid Chase <drchase@google.com>
Thu, 1 Dec 2022 18:39:23 +0000 (13:39 -0500)
committerDavid Chase <drchase@google.com>
Mon, 5 Dec 2022 19:25:34 +0000 (19:25 +0000)
This adds the nonPGO, non-coverage compiler changes
for the 1.20 release.  There's not that much user
visible change.

For #54202.

Change-Id: Ib2964ed5f7e73bb89c720d09b868ab79682f5070
Reviewed-on: https://go-review.googlesource.com/c/go/+/454536
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: David Chase <drchase@google.com>

doc/go1.20.html

index 26f65f28d0c30370a1c3edea9222e9b465a6a827..b39c49ff117f7edb8b494b5f659394bf654c9561 100644 (file)
@@ -306,7 +306,18 @@ Do not send CLs removing the interior tags from such phrases.
 </p>
 
 <p>
-  TODO: complete this section
+  The Go 1.20 compiler upgraded its front-end to use a new way of handling the
+  compiler's internal data, which fixes several generic-types bugs and enables
+  local types in generic functions and methods.
+</p>
+
+<p><!-- https://go.dev/issue/56103, CL 445598 -->
+  The compiler now <a href="https://go.dev/issue/56103">disallows anonymous interface cycles</a>.
+</p>
+
+<p><!-- https://go.dev/issue/49569 -->
+  Relative to Go 1.19, generated code performance is generally slightly improved,
+  build wall times are slightly increased, build user times are slightly decreased.
 </p>
 
 <h2 id="linker">Linker</h2>