From ebe99189fce39be68ef4eafa29923b3a6585a262 Mon Sep 17 00:00:00 2001
From: Austin Clements
- Go 1.17 implemented a new way of passing
+ Go 1.17 implemented a new way of passing
function arguments and results using registers instead of the stack
on 64-bit x86 architecture on selected operating systems.
Go 1.18 expands the supported platforms to include 64-bit ARM (
- As mentioned in the Go 1.17 release notes,
+ As mentioned in the Go 1.17 release notes,
this change does not affect the functionality of any safe Go code and
is designed to have no impact on most assembly code. See the
- Go 1.17 release notes for more details.
+ Go 1.17 release notes for more details.
+
+ The compiler now can inline functions that contain range loops or
+ labeled for loops.
@@ -278,6 +283,10 @@ Do not send CLs removing the interior tags from such phrases.
new
+ TODO: Mention build speed impact.
+
@@ -367,6 +376,10 @@ Do not send CLs removing the interior tags from such phrases.
handle Unicode punctuation and language-specific capitalization rules, and is superseded by the
golang.org/x/text/cases package.
+ TODO: bytes.Cut.
+
+ TODO: Mention new generics APIs.
+
+ TODO: Mention new generics APIs.
+
@@ -412,6 +441,12 @@ Do not send CLs removing the interior tags from such phrases.
+ TODO: Several new net APIs.
+ Compiler
GOARCH=arm64
),
@@ -263,14 +263,19 @@ Do not send CLs removing the interior tags from such phrases.
as well as 64-bit x86 architecture (GOARCH=amd64
)
on all operating systems.
On 64-bit ARM and 64-bit PowerPC systems, benchmarking shows
- performance improvements of 10% or more.
+ typical performance improvements of 10% or more.
go
command -asan
option.
Linker
+
+
+
net.Error.Temporary
has been deprecated.
Value.FieldByIndex
when stepping through a nil pointer to an embedded struct.
+ reflect.Ptr
and
+ reflect.PtrTo
+ have been renamed to
+ reflect.Pointer
and
+ reflect.PointerTo
,
+ respectively, for consistency with the rest of the reflect package.
+ The old names will continue to work, but will be deprecated in a
+ future Go release.
+
+ TODO: strings.Cut. +
-- 2.50.0