From f4b8a5194eccb6865c7dcadc79430d9af930c48a Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 16 Jul 2018 17:05:59 +0000 Subject: [PATCH] doc: flesh out go1.11 notes Change-Id: I0152d3c1d980e271fbcdb9d5def094d3c837a4f4 Reviewed-on: https://go-review.googlesource.com/124055 Reviewed-by: Brad Fitzpatrick --- doc/go1.11.html | 39 ++++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/doc/go1.11.html b/doc/go1.11.html index 59f71f70f4..fad45e4396 100644 --- a/doc/go1.11.html +++ b/doc/go1.11.html @@ -57,6 +57,17 @@ Do not send CLs removing the interior tags from such phrases.

Go 1.11 adds an experimental port to WebAssembly (js/wasm).

+

+ Go programs currently compile to one WebAssembly module that + includes the Go runtime for goroutine scheduling, garbage + collection, maps, etc. + As a result, the resulting size is at minimum around + 2 MB, or 500 KB compressed. Go programs can call into JavaScript + using the new experimental + syscall/js package. + Binary size and interop with other languages has not yet been a + priority but may be addressed in future releases. +

As a result of the addition of the new GOOS value "js" and GOARCH value "wasm", @@ -304,7 +315,8 @@ Do not send CLs removing the interior tags from such phrases.

mime/quotedprintable

- TODO: https://golang.org/cl/121095: accept bytes >= 0x80 + To support invalid input found in the wild, the package now + permits non-ASCII bytes but does not validate their encoding.

@@ -312,7 +324,9 @@ Do not send CLs removing the interior tags from such phrases.
net

- TODO: https://golang.org/cl/72810: add ListenConfig, Dialer.Control to permit socket opts before listen/dial + The new ListenConfig type and the new + Dialer.Control field permit + setting socket options before accepting and creating connections, respectively.

@@ -320,7 +334,11 @@ Do not send CLs removing the interior tags from such phrases.

- TODO: https://golang.org/cl/107715: add support for splice(2) in (*TCPConn).ReadFrom on Linux + The net package now automatically uses the + splice system call + on Linux when calling copying data between TCP connections in + TCPConn.ReadFrom, as called by + io.Copy. The result is faster, more efficient TCP proxying.

@@ -407,18 +425,17 @@ Do not send CLs removing the interior tags from such phrases.

os/user

- TODO: https://golang.org/cl/92456: add a way to enforce pure Go implementation + The os/user package can now be built in pure Go + mode using the build tag "osusergo", + independent of the use of the environment + variable CGO_ENABLED=0. Previously the only way to use + the package's pure Go implementation was to disable cgo + support across the entire program.

-
regexp
-
-

- TODO: https://golang.org/cl/101715: use sync.Pool to cache regexp.machine objects -

- -
+
runtime