Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Go Support for Android is Coming

DZone's Guide to

Go Support for Android is Coming

· Java Zone
Free Resource

What every Java engineer should know about microservices: Reactive Microservices Architecture.  Brought to you in partnership with Lightbend.

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+.

Microservices for Java, explained. Revitalize your legacy systems (and your career) with Reactive Microservices Architecture, a free O'Reilly book. Brought to you in partnership with Lightbend.

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}