by programminggeek · 13y ago · 0 comments
but, I'm giving you the benefit of the doubt that there's an intelligent comment here
"If Google were pushing Go and it were on Android, it may feel as though Go's goal was political, ie another way for Google to assert control over the development process and bring people under their umbrella.
"Given that Go isn't on Android, it feels more like Google is trying to contribute a useful tool than push an agenda."
You may disagree, but that's what was implied.
First, I should point out that you CAN currently run Go programs on an Android device. You just can't take advantage of the SDK and make GUI-based applications, etc.[0]
Basically, the answer is that nothing's preventing anybody (including you and me) from doing so, except the fact that we would have to wrap the entire NDK and make it available/usable through Go.
That's not any more difficult to do in Go than it is to do in Java, but it's a massive amount of work which has already been solved for Java, so there's little incentive to recreate it in Go.
(I'm paraphrasing, so my answer may be slightly wrong, but hopefully you get the idea - perhaps @enneff can give a more complete answer).
[0] You can, however, bundle them as hybrid applications, because Android applications apparently allow bundling of arbitrary binaries, from what I've been told.
I think it will happen eventually. The language is new, but it's having a lot of success and spreading both within Google and outside.