Cross Platform Tool Development in Go


Go is an excellent open source multi-platform language for doing cross-platform development which is ideal for ops tools. If you target multi-platform, multi-architecture environments, come learn how Go enables you to write once and run anywhere. This talk will cover the language features that enable you to deploy the same code to multiple platforms, a few gotchas, and a few examples.

The platform wars are over and basically everybody won. Now we need to be able to support everything from Android to Solaris at the same time and there are open source tools that make that easier.

This talk will cover the built in features of Golang that make it possible to write your code on one platform and seamlessly deliver it to many different operating systems and architectures. As a devops engineer I have tools and services that need to support multiple operating systems running on different CPU architectures.

You will learn the specific ways to generate *bsd-386 binaries on Windows-x64, android-arm binaries on Linux-ppc and all combinations in between. I'll also be covering coding techniques to keep this manageable and libraries that support you in things like file system navigation.

# Specific Takeaways

Attendees will learn how to make a cross platform binary that works on over five flavors of unix, and windows, with only three additional lines of code. Additionally they will (hopefully) be inspired by the new era of interoperability that we now find ourselves in where all that matters is your API endpoint and not which operating system religion you subscribe to.

Ballroom C
Sunday, March 5, 2017 - 15:00 to 16:00