Earlier quoted context omitted.
Today, Android cross-compiles JVM bytecode to its own non-JVM bytecode; I'd assume they'll continue using a two-stage approach for Kotlin.
Kotlin claims future capability for "Native" applications. I assume that this is separate from "Android" applications, even if these are compiled to native instructions.
Android now supports Kotlin
141–150 of 225 posts
Re: Android now supports Kotlin
#142What does it mean being "supported", given that one already can use Kotlin on Android?
It means: - being documented on https://developers.google.com - being installed by default with the SDK - having official tutorials provided by the Android team using Kotlin - having code samples provided by the Android team using Kotlin Providing the confidence to many companies out there that Google will not change Android in a way that Kotlin compiled applications would stop working.
Re: Android now supports Kotlin
#143Earlier quoted context omitted.
> since it is just another JVM language Not for long, they're working on Kotlin Native which will make it completely independent from the JVM and portable to all platforms. Killer.
That has no value for Google. If Google wanted to get rid of JVM technology and idioms on Android then it would be better off with pure native language like Swift/Rust/Go. They all are quite further away from Javaism. Kotlin's great value is mostly because it is Java like and run on JVM.
Why do you think that natively compiled Kotlin would be slower than Go, anyway?
Re: Android now supports Kotlin
#144Re: Android now supports Kotlin
#145Looks like Kotlin will soon be skyrocketing to the top of the TIOBE charts.
Disclaimer: I am always looking for that Unicorn. The one that will let me write my code once and run it on all platforms. I refuse to give up this quest. I use Pycharm and have used other Jetbrains IDE's in the past. They make me soooo very happy to use. That is, I have tried almost every Python IDE and suped up Vim/Emacs; None of them came close to Pycharm for me. They know cross platform. Their IDE's are just as b…
Except all those platforms have different paradigms regarding UI, and different ideas regarding base components. Even if you could have your code run on all of them, you'd still be writing platform specific code.
Re: Android now supports Kotlin
#146Earlier quoted context omitted.
Dart runs all of their AdSense code. I also believe your information about the usage of Go at Google is also out of date.
Dart runs the AdSense code, because the AdSense team rescued the Dart team when the decision came to them stop being part of Chrome development efforts. Regarding Go at Google, if you have better sources of information to share with those living outside Mountain View, it would be very helpful.
Re: Android now supports Kotlin
#147Well this looks like going to push Kotlin in big league. I remember scala enthusiasts made big noise in last few years to have scala as officially supported language. But Google seems to prefer a closer relationship with Jetbrains.
The newest version of Scala (2.12) requires a JVM with Java 8 feature compatibility which makes it unusable on Android devices. Google would literally be stuck supporting an obsolete version of a language that's not developed... or restrict the use of it only to Android O and newer making it dead on arrival. Kotlin compiler generates code that's runnable on JVMs supporting Java 6, which makes it work on pretty much a…
guess that requires a recent android device :(
Re: Android now supports Kotlin
#148Good move. Out with possible null pointers everywhere for no freaking reason at all. It's 2017. Apple did a great job with Swift but launched it when it wasn't mature yet but Kotlin will have JetBrains level of IDE support from the get go so and it's mature already only a luddite would stay with Java.
Don't confuse professional programmer who would use language whatever client/employer decides with luddite.
Re: Android now supports Kotlin
#149Re: Android now supports Kotlin
#150Funny, 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…
I call Kotlin Android's Swift.