3 ms·
Even the one platform where Java is the native language of the UI toolkit (Android) is moving to ditch the Java language for Kotlin.
by Macha 5y ago
Even the one platform where Java is the native language of the UI toolkit (Android) is moving to ditch the Java language for Kotlin.
- AtlasBarfed 5y agoKotlin doesn't bundle a fundamentally new/better UI toolkit. It's just another JVM language. Most complaints about UI toolkit in "Java" are really about the JDK, its startup time, and the fact that the UI toolkit in the AWT/Swing days never closed the gap with native apps. Kotlin would just be using the core library UI (or android UI API), so it's no real advantage.
- la_fayette 5y agoYes true, but the android sdk is completely written in java and this most likely will stay like this. Even some new jetpack libraries are written in java... If a newer java version would be enabled for android development, is there really a compelling reason to use kotlin?
- kaba0 5y agoAndroid’s Java is no real java, it is stuck in a strange limbo of Java 8 compatibility with some cherry-picking from fresher features, while actual Java is at 18 now with plenty of important improvements. Kotlin compiles some of these newer features’ equivalents to java 8, that’s why it is used. But that is a failure of android, not of Java.