Does a Kotlin codebase have more safety from a legal perspective?
Does a Kotlin codebase have more safety from a legal perspective?
IMO, Android is moving away from modern versions of Java. Java and its underlying standard library will always play a big role in Android development.
The way I see it, Kotlin makes a lot of sense for Android development because Kotlin can introduce new things in its standard library that make older versions of Java look ancient. It's not like you can use new Java features in Android, so using Kotlin makes people not care as much about new features of Java that are only available in modern versions of Java.
Hence ART is updatable via Play Store since Android 12, and is currently on Java 17 LTS.
It is good enough Java for relevant libraries to work on Android.
Including the main sales pitch of Kotlin, its Interoperability with Java.
It's not "the JVM"; JVM is a spec that has many implementations, you are probably referring to Oracle JRE/JDK.