Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Golang 1.6 Celebration

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for Han Ngo Han Ngo
February 23, 2016

Golang 1.6 Celebration

My talk in Golang Vietnam Meetup #06: https://www.facebook.com/events/1651152271814093/

Avatar for Han Ngo

Han Ngo

February 23, 2016
Tweet

More Decks by Han Ngo

Other Decks in Programming

Transcript

  1. Me • Han @ Dwarves Founda1on • Ini1ate @ Golang

    Vietnam | 2014 • Developer, Gopher & Tech Entrepreneur © Golang Vietnam, 2016 2
  2. Release Cycle • 1. the beginning of tooling • 1.1

    race detector & more pla6orms • 1.2 test coverage & gorou;ne preemp;on • 1.3 linker rewrite, GC latency & more pla6orms • 1.4 much of run;me translated/ported from C to Go © Golang Vietnam, 2016 4
  3. 1.5 • all C is gone • new GC •

    GOMAXPROCS • vendor support in cmd/go • go doc © Golang Vietnam, 2016 5
  4. Go 1.6 • No language changes • net/h0p: support for

    HTTP/2 (yay!) >> Demo • one connec:on for parallelism • fully mul:plexed, instead of ordered and blocking • uses header compression to reduce overhead • allows servers to “push” responses proac:vely into client caches © Golang Vietnam, 2016 6
  5. Go 1.6 More info about HTTP/2: • HTTP/2 FAQ •

    HTTP/2 Implementa3ons • HTTP/2: the Pros, the Cons, and What You Need to Know • What HTTP/2 Means for Ruby Developers © Golang Vietnam, 2016 7
  6. Go 1.6 • html/template block ac/on • GO15VENDOREXPERIMENT is now

    enabled by default. • run/me: GC Pause /me • govet © Golang Vietnam, 2016 8
  7. • Language (basically frozen) • Standard Library (increasingly frozen, external

    pkg preferred) • Run=me (GC, maps, channels ... ac=ve development) • Tools (cmd/compile, gccgo, godoc, go doc, go vet, gofmt, goimports, guru, gorename ... ac=ve development) • Ecosystem © Golang Vietnam, 2016 15
  8. Stars • Rob Pike (@rob_pike | Concurrency Is Not Parallelism)

    • Francesc Campoy (@francesc | Twelve Go Best PracDces) • Dave Cheney (@davecheney) • Andrew Gerrand (@enneff) • Astaxie (@astaxie | Beego) • Steve Francia (spf13 | Hugo | 7 Common Mistakes In Go) © Golang Vietnam, 2016 17