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

Write your iOS and Android apps in Go

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

Write your iOS and Android apps in Go

Talk presented at the DevFest Nantes 2016.
See associated Github repo here: https://github.com/antoine-richard/weather-mobile

Avatar for Antoine RICHARD

Antoine RICHARD

November 09, 2016
Tweet

More Decks by Antoine RICHARD

Other Decks in Programming

Transcript

  1. 2 DEVFEST NANTES 16 2 DEVFEST NANTES 16 android darwin

    dragonfly freebsd linux netbsd openbsd plan9 solaris windows Go target OSes and architectures arm arm64 386 amd64 ppc64 ppc64le mips64 mips64le Go
  2. 4 DEVFEST NANTES 16 4 DEVFEST NANTES 16 The Fastest

    and Easiest Way to Build APIs restlet.com Antoine Richard [email protected] @richard_antoine
  3. 5 DEVFEST NANTES 16 5 DEVFEST NANTES 16 gomobile build

    iOS & Android apps in Go + OpenGL gomobile bind Include Go code in iOS & Android apps (See also reverse bindings)
  4. 6 DEVFEST NANTES 16 6 DEVFEST NANTES 16 gomobile build

    iOS & Android apps in Go + OpenGL Demo 6
  5. 7 DEVFEST NANTES 16 7 DEVFEST NANTES 16 gomobile build

    iOS & Android apps in Go + OpenGL 7 Great for games / graphic-heavy apps Great performance Not yet ready for prime time Especially on iOS Lacks OS integration
  6. 8 DEVFEST NANTES 16 8 DEVFEST NANTES 16 gomobile bind

    Include Go code in iOS & Android apps DEVFEST NANTES 16 Live-coding
  7. 9 DEVFEST NANTES 16 9 DEVFEST NANTES 16 gomobile bind

    Include Go code in iOS & Android apps DEVFEST NANTES 16 Great for logic-heavy apps Maximize code reuse Type limitations But JSON, FlatBuffers, HTTP, wrappers… Go, try it :) Apps already in the stores
  8. 11 DEVFEST NANTES 16 11 DEVFEST NANTES 16 Thank you

    DEVFEST NANTES 16 github.com/golang/go/wiki/Mobile godoc.org/golang.org/x/mobile/cmd/gomobile godoc.org/golang.org/x/mobile/cmd/gobind Get started invite.slack.golangbridge.org #go-mobile github.com/jeffallen/MarshrutMe Flatbuffers github.com/caseylmanus/go-react-native React Native + HTTP/WebSockets/NativeBridge [email protected] @richard_antoine