Slide 1

Slide 1 text

Go 1.7 What's new and shiny?

Slide 2

Slide 2 text

Compiler improvements • Compilation/linking is faster • (Still not fast enough) • Running programs is about 5-35% faster • Filesize up to 20-30% smaller • Adds stack frame pointers for debugging using Linux perf • Binary only packages

Slide 3

Slide 3 text

Vendoring GO15VENDOREXPERIMENT support removed

Slide 4

Slide 4 text

context

Slide 5

Slide 5 text

net/http/httptrace

Slide 6

Slide 6 text

encoding/json • support encoding/decoding maps using keys with int types • Encoder.SetEscapeHTML • Encoder.SetIndent

Slide 7

Slide 7 text

SubTesting

Slide 8

Slide 8 text

Panic if a signal's name is known, it will be printed in the stack trace

Slide 9

Slide 9 text

Additional reading • https://tip.golang.org/doc/go1.7 • https://blog.golang.org/context • https://medium.com/@cep21/how-to-correctly-use-context-context- in-go-1-7-8f2c0fafdf39