Re:Kotlin is now Google’s preferred language for Android app...
by benjymo on Wednesday May 08, 2019 @04:18AM
(#19856879)
I don't think they should be rewritten in Kotlin. That would force everyone to use Kotlin with minimal benefits for Kotlin users.
Re:Kotlin is now Google’s preferred language for Android app...
by pjmlp on Wednesday May 08, 2019 @05:30AM
(#19857232)
Java 9+ is not supported on Android, so if you want to link to a Java 9+ library for an Android application, your only path is to rewrite it in Kotlin, as it is clear from this announcement that Google won't bother to add the required machinery to ART to support Java 9+ class files and new libraries.
Naturally the other alternative would be to downgrade the code back to Java 8, but then the question remains for how long they will keep it around.
Re:Kotlin is now Google’s preferred language for Android app...
by liopleurodon on Wednesday May 08, 2019 @05:22AM
(#19857184)
Might have less to do with users and more to do with Oracle v Google
Lets see what is the roadmap to use Java 9+ libraries in Android, or if they are supposed to be all rewritten in Kotlin.
Secondly, will they also replace NDK with Kotlin/Native? Given that several APIs are NDK only, and naturally should be accessible to the prefered language as well, without manual boilerplate.