Mobile Zone is brought to you in partnership with:

Alec is a Content Curator at DZone and lives in Raleigh, North Carolina. He is interested in Java and Android programming, and databases of all types. When he's not writing for the NoSQL and IoT Zones, you might find him playing bass guitar, writing short stories where nothing happens, or making stuff in Java. Alec is a DZone Zone Leader and has posted 578 posts at DZone. You can read more from them at their website. View Full User Profile

Go Support for Android is Coming

  • submit to reddit

According to David Crawshaw of the Go team, Go will be coming to Android. For those who have been wishing for an alternative to Java on Android - even if it isn't Dart or Groovy, yet - this is a pretty exciting announcement. 

It's not a complete alternative, though; rather than following the Android SDK, Go support would be added based on the NDK. The SDK, Crawshaw suggests, is just too big:

Providing a Go equivalent to the Android platform is intractable. The platform is written in Java and has a huge API surface. Any attempt to wrap these APIs in Go would give an undesirable result: manually built wrappers would lag in features, automatically generated wrappers would lead to ugly Go. And either way, it would be slow.

Go 1.3 was just released, and Crawshaw points to the 1.4 cycle for this update, so you'll still have to wait a bit. Regardless, though, it's an interesting development and might make life a little easier for some developers, at least in some situations.

Cawshaw promises a few other things as well:

  • Bindings for OpenGL, OpenSL, and OpenMAX
  • A Java -> Go language binding generator (so Java can call Go packages)
  • Android Studio build system integration

Check out Crawshaw's full announcement and the conversation on Google+.