5 ms·
Could Go be used to replace Java on Android eventually? If he's already comparing it to Objective-C, and since it already has garbage collection, it might not b
by higherpurpose 13y ago
Could Go be used to replace Java on Android eventually? If he's already comparing it to Objective-C, and since it already has garbage collection, it might not be a terrible idea, and it should make it easier for new programmers wanting to develop for Android, since Go is an easier language to learn than Java and much less verbose.
- mergesort 13y agoI think that's more in the hands of Google themselves but there is a project which patches the Go tools and runtime to enable Android apps to interface directly with a shared library written in Go. https://github.com/eliasnaur/goandroid https://github.com/eliasnaur/goandroid
- pjmlp 13y agoWhen they ever care to close this issue opened in 2012, https://code.google.com/p/android/issues/detail?id=39482 https://code.google.com/p/android/issues/detail?id=39482
- Touche 13y agoMost of Android is written in Java, so no, that's not going to happen in our lifetimes. All we can hope is that ART is good enough that Dalvik goes away and we can start building stable languages on top of ART (as opposed to with Dalvik which only has immature / experimental languages not-named-Java.
- MBCook 13y ago> Most of Android is written in Java, so no, that's not going to happen in our lifetimes. It could easily happen if Google wanted it to. Java can call native code (and vice-versa). Other system vendors have changed core implementations before. Apple has pulled it off 2 or 3 times at least. It wouldn't be easy, but it's certainly possible.
- Touche 13y agoYeah, absolutely, but they'd have to have a very good reason to do so. I want them to do it too, but I doubt it will happen unless they reach some major roadblock that makes ART unsuitable.