Android应用程序从Go语言应用程序、语言、Android、Go

2023-09-05 05:29:57 作者:南岸青栀

我听到嗡嗡声有关从谷歌Go语言。维基百科这样写到:去的目的是提供用的放心的动态语言编程的静态类型编译语言的效率。我想,既然是从机器人的制造者语言,他们应该有对创建Android应用程序一定支撑。是否有任何工具,从去创建Android应用程序?就是去值得学习的语言,并假定有一天机器人可能是基于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.

推荐答案

目前旗下有没有办法建立与围棋的Andr​​oid应用程序,而Android的一些假设的未来版本的不是今日投入的时间去一个很好的理由。

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.

这是说,你去的是的一个伟大的语言,你可以做很多事情与它像写Web服务器,命令行应用程序,甚至AppEngine上的应用程序。因此,有很多很好的理由去学习去!但Android是不是其中之一。

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.

修改: 由于围棋1.5就可以写出完全去还是作为一个Java应用程序调用一个围棋的JNI库Android应用程序。 iOS的预计也将赶在最后的1.5版本到达。转到 https://github.com/golang/mobile 了解更多详情。

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.