Download - Go meetup | Go 1.8 release

Transcript

Go 1.8 releaseMate Gulyas

CTO & Co-FounderMÁTÉ GULYÁS

@gulyasm

The Language

The Standard Library

The Runtime

The Tooling

The Community

The Language

The Standard Library

The Runtime

The Tooling

The Community

Change in conversion rules

Change in conversion rules

go1.8

New platformsMIPS

big-endian

little-endian (requires Floating Point Unit)

OPENBSDGo now requires OpenBSD 5.9+.

ARMGo 1.9 will require ARMv6K, Go 1.8 is the last to support ARMv5E and ARMv6

32 bit ARM: 20-30% speed up!

Others (already with SSA): 0-10%.

More compact and efficient SSA.

New SSA Backend for the Go Compilerhttps://docs.google.com/document/d/1szwabPJJc4J-igUZU4ZKprOrNRNJug2JPD8OYi3i1K0

SSAhttps://en.wikipedia.org/wiki/Static_single_assignment_form

Faster compiler

When GOPATH is not defined, the tool will use:

● on Unix

● on Windows

The Language

The Standard Library

The Runtime

The Tooling

The Community

Sorting API

Sorting API

Sorting APIgo1.8

Sorting API

Plugins

Plugins

HTTP Shutdown

The HTTP server can now gracefully shut down.

HTTP Shutdown

HTTP Shutdown

HTTP Shutdown

HTTP Shutdown

HTTP Shutdown

HTTP Shutdown

HTTP Shutdown

HTTP/2 PUSHPusher interface

DEMO

More context support

go1.7:

● net● net/http● os/exec

go1.8:

● http.Server.Shutdown● database/sql (now you can cancel queries!)

● net.Resolver

The Language

The Standard Library

The Runtime

The Tooling

The Community

GC performance

GC performance

GC performance

The Language

The Standard Library

The Runtime

The Tooling

The Community

go bug opens up a prefilled bug report

The Language

The Standard Library

The Runtime

The Tooling

The Community

Developer experience

Documentation

Examples

Help and move contributions

Disclaimer

Francesc Campoy - The state of go https://talks.golang.org/2017/state-of-go.slide

Dave Cheney - Go 1.8 toolchain improvementshttps://dave.cheney.net/2016/11/19/go-1-8-toolchain-improvements

1.8 Release Noteshttps://beta.golang.org/doc/go1.8

MATE [email protected]

@gulyasm@enbritely

THANK YOU!