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

Developing for Multiple Platforms With Go

Mark Wolfe
February 24, 2015

Developing for Multiple Platforms With Go

Mark Wolfe

February 24, 2015
Tweet

More Decks by Mark Wolfe

Other Decks in Technology

Transcript

  1. Developing for Multiple
    Platforms With Go
    Mark Wolfe

    View Slide

  2. Go?
    open source project
    developed by google
    5 years old
    Robert Griesemer, Rob Pike, and Ken Thompson

    View Slide

  3. Go Language
    Statically Typed
    C like syntax
    Garbage Collection
    Built in concurrency primitives, goroutines, channels

    View Slide

  4. Go WHY?
    ~5MB of ram for a service
    Simple deployment
    Can use native code via cgo
    Portable tools or small services

    View Slide

  5. Go Runtime
    Produces statically linked native binaries without external
    dependencies
    Supports:
    Windows (i386,x86_64)
    OSX (i386,x86_64)
    Linux (i386,x86_64,arm)
    FreeBSD (i386,x86_64,arm)

    View Slide

  6. Some Code
    Demo Here

    View Slide

  7. Docker
    Containers
    Supports Windows
    boot2docker
    Platforms++

    View Slide

  8. Questions
    http://www.meetup.com/golang-mel/
    @wolfeidau on twitter
    github.com/wolfeidau

    View Slide