19

I am hearing buzzes about Go programming language from google. Wikipedia describes it like this: "Go aims to provide the efficiency of a statically-typed compiled language with the ease of programming of a dynamic language". I was thinking that since it is a language from the maker of android, they should have some support for creating android Apps. Is there any tool to create android App from Go? Is Go worthy language to learn with an assumption that "SOMEDAY" android might be based on GO.

3
  • It is exceedingly unlikely that someday "android might be based on GO". It is similarly unlikely that someday it will be common to create Android apps using Go. Commented Apr 10, 2012 at 20:13
  • @CommonsWare: you may be right, but a little looking around will uncover that many, many people thought that it was exceedingly unlikely that Go would ever be an AppEngine runtime. Commented Apr 11, 2012 at 19:17
  • 3
    @Jack: I can't say that I think that Go is your best investment if building Android apps is your primary focus, but I do wholeheartedly endorse learning Go just because it is a flat-out great language. Commented Apr 11, 2012 at 19:18

1 Answer 1

13

There's currently no way to build Android apps with Go, and some hypothetical future version of Android isn't a good reason to invest time in Go today.

That said, Go is a great language, you can do a lot with it like write webservers, command line apps, and even AppEngine apps. So there's lots of good reasons to learn Go! But Android isn't one of them.

Edit: As of Go 1.5 it is possible to write Android apps completely in Go or as a Java app calling a Go JNI library. iOS is also expected to arrive in time for the final 1.5 release. Go to https://github.com/golang/mobile for more details.

Sign up to request clarification or add additional context in comments.

1 Comment

It should be noted that you can compile go to arm, so you can run go programs on android devices. The thing stopping you from writing a complete app in go is that you need to be using java to plug into the gui system that android has going on. You can have an app that calls a binary that was compiled from go, though, which could be useful if you wanted to write some of your program in go.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.