Funny, I was messing around with Kotlin for the first time last night. So far, the language seems well-structured and I really like that one gets all of Java's ecosystem without actually having to write java. (Also, "override fun" just sounds hilarious. Bwaha!) Throw in TornadoFX and Gluon Scene Builder (formerly of Oracle) and you're spinning up high-quality cross-platform GUIs faster than Atom, with a visual editor…
New to Kotlin + ecosystem... So can you build Android UI's with Scene Builder? I see notes about it working with Gluon Mobile which appears to be a cross platform mobile library.
Android now supports Kotlin
31–40 of 225 posts
Re: Android now supports Kotlin
#32So where is the best place to learn Kotlin? I am very interested as Jetbrains is also working on Kotlin to native translation. [1] [1] https://blog.jetbrains.com/kotlin/2017/04/kotlinnative-tech-...
Re: Android now supports Kotlin
#33Re: Android now supports Kotlin
#34Was hoping for golang but this is good too
Why haven't they supported Go on android?
1) interoperability between existing ecosystem and APIs
2) development environment support.
In case of Kotlin Google had to do nothing: Kotlin is 100% interoperable with existing Java code and libraries, including Android APIs; as for the development environment, JetBrains (the company behind Intellij IDEA and Kotlin itself) provides the same level of development experience for Kotlin as for Java, which means that Android Studio gets the very same nice features for Kotlin.
Now, how would they get the same with Go? For interoperability they would need to either generate tens of thousands of bindings for existing APIs and provide a convenient way to include compiled Go binary as a static library. It is highly doubtful they actually can do, since they have been having troubles to do it for C or C++ code for a very long time. Or as alternative they can improve their support for native code, which then can be used as a base for interoperation with Go code; however it is still considerably less pleasant way to do things than in case of Java + Kotlin.
Now, as for the development environment, Google will have to basically create yet another IDE on top of Android Studio to support Go; they might take an existing plugin (which is not that great, compared to Kotlin support in AS/Intellij), but it means that they would have to collaborate in development on it, which in case of Google takes too much time. Another indicator of how difficult for them implement at least someway decent support for another language on their own is situation with native code - it's being in development for like 3 years, and still is highly unusable.
Re: Android now supports Kotlin
#35Was hoping for golang but this is good too
I think Go is never going to be officially supported on Android. Dart, though, seems more likely as it is Java like VM based language. Go is going to have better support on Fuchsia OS from Google.
Re: Android now supports Kotlin
#36Looks like Kotlin will soon be skyrocketing to the top of the TIOBE charts.
Re: Android now supports Kotlin
#37If you have used kotlin, it seems the obvious move. I am not coming back to java, unless completely necessary. Kotlin is a great language (and more fun!).
Re: Android now supports Kotlin
#38If they can deliver good kotlin native experience, then kotlin is unbeatable
Re: Android now supports Kotlin
#39Earlier quoted context omitted.
Why haven't they supported Go on android?
Java, Python and C++ are the actual workhorse languages at Google. Go doesn't seem to be used that much other than a few known projects like the stuff that got re-written for YouTube or the download server. You see this when new Web APIs are released, usually Go isn't part of the preview SDKs, and on Android all the work done on Go mobile has been done by people on the Go team or from the community at large.