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

Write your iOS and Android apps in Go

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

0d67d4ac82fb031ff815245ae00e1a97?s=128

Antoine RICHARD

November 09, 2016
Tweet

Transcript

  1. DEVFEST NANTES 16 #gomobile #devfestnantes Write your iOS and Android

    apps in Go
  2. 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
  3. 3 DEVFEST NANTES 16 3 DEVFEST NANTES 16 Go Mobile

  4. 4 DEVFEST NANTES 16 4 DEVFEST NANTES 16 The Fastest

    and Easiest Way to Build APIs restlet.com Antoine Richard arichard@restlet.com @richard_antoine
  5. 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)
  6. 6 DEVFEST NANTES 16 6 DEVFEST NANTES 16 gomobile build

    iOS & Android apps in Go + OpenGL Demo 6
  7. 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
  8. 8 DEVFEST NANTES 16 8 DEVFEST NANTES 16 gomobile bind

    Include Go code in iOS & Android apps DEVFEST NANTES 16 Live-coding
  9. 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
  10. DEVFEST NANTES 16 10 github.com/antoine-richard/weather-mobile Swift, Java & Go JSON

    serialization
  11. 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 arichard@restlet.com @richard_antoine