5 ms·
When is Google going to support Go in Android?
by higherpurpose 13y ago
When is Google going to support Go in Android?
- pjmlp 13y agoWhen they ever bother to implement this 2012 open ticket. https://code.google.com/p/android/issues/detail?id=39482 https://code.google.com/p/android/issues/detail?id=39482
- higherpurpose 13y agoMaybe they're doing it behind the scenes for Android 5.0, and aren't telling us about it? Google isn't exactly doing community development of Android. One can hope.
- pjmlp 13y agoActually from the tone of last Google IO, I thought they might use Dart, given some hints about "upcoming stuff", which never materialized. The original Android team had a few ex-Sun employees from the Java team, so it might also play a role there. Just guessing.
- antihero 13y agoIf go can compile to ARM, would it not be a case of just compiling it for ARM and creating a bridge with the Android API?
- pjmlp 13y agoFor it to work they have to: - Make Go code compile as .so, currently Dalvik/ART are always the app entry points. - As you say provide a wrapper for all existing APIs, with the problem that many rely on implementation inheritance, not supported by Go. So a 1:1 mapping is not possible.
- izacus 13y agoNot for a long time probably - Go compiler can't make .so shared libraries, which are a requirement for Java / native interop.