来自Go编程语言的Android应用程序

huangapple go评论103阅读模式
英文:

Android App from Go programming language

问题

我听说谷歌的Go编程语言有些噪音。维基百科这样描述它:“Go旨在提供静态类型编译语言的效率和动态语言的编程便利性”。我在想,既然它是由安卓制造商开发的语言,他们应该有一些支持来创建安卓应用程序。有没有用Go创建安卓应用程序的工具?假设“将来某一天”安卓可能基于Go,那么学习Go语言是否值得?

英文:

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.

答案1

得分: 13

目前还没有使用Go构建Android应用的方法,而且某个假设的未来版本的Android也不是在今天投资时间学习Go的好理由。

话虽如此,Go确实是一门很棒的语言,你可以用它来编写Web服务器、命令行应用,甚至是AppEngine应用。所以有很多很好的理由去学习Go!但是Android不是其中之一。

编辑
从Go 1.5版本开始,完全可以使用Go编写Android应用,或者作为一个调用Go JNI库的Java应用。预计iOS也将在最终的1.5版本发布时到来。请访问https://github.com/golang/mobile获取更多详细信息。

英文:

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.

huangapple
  • 本文由 发表于 2012年4月11日 04:07:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/10095698.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定