What's coming in Go 1.15
Go Remote Fest, 2020 - Daniel MartÃ
Caveat: my personal picks.
We are three months away.
Most of these are merged.
This release is a bit smaller
Section 1: The top 5
(the linker is not yet finished)
#2: slightly smaller binaries
package main
import (
"io"
"net/http"
"os"
)
func main() {
resp, _ := http.Get("https://golang.org/dl/")
io.Copy(os.Stdout, resp.Body)
}
$ go version
go version go1.14.2 linux/amd64
$ gotip version
go version devel +49f10f3797 Sat Apr 25 02:19:12 2020 +0000 linux/amd64
$ go build -ldflags='-w -s' -o 114
$ gotip build -ldflags='-w -s' -o 115
$ du -b 114 115
5111808 114
5009408 115
2% isn't much, but it's progress!
Section 2: Ports
riscv64 getting better
(too many CLs!)
Section 3: API changes
Section 4: Tooling
Section 5: Performance
Parting thoughts:
Skimming over master is very useful.
go get golang.org/dl/gotip