Re:Android’s Commitment to Kotlin
by pjmlp on Saturday December 07, 2019 @04:49AM
(#21729380)
To paraphrase them, "it looks interesting and it is something that we are following on", which means nothing to me.
In any case Kotlin/Native doesn't bring nothing to Android itself.
ART makes use of AOT/JIT with code cache, which is much better than straight AOT on languages with reflection, dynamic dispatch and dynamic loading everywhere.
This is why they gave up on pure AOT introduced during Android 5 and 6 lifetime.
Then the NDK is tailored for writing native libraries for consumption from ART, only exposing C bindings, even though most of the code is actually C++.
In any case Kotlin/Native doesn't bring nothing to Android itself.
ART makes use of AOT/JIT with code cache, which is much better than straight AOT on languages with reflection, dynamic dispatch and dynamic loading everywhere.
This is why they gave up on pure AOT introduced during Android 5 and 6 lifetime.
Then the NDK is tailored for writing native libraries for consumption from ART, only exposing C bindings, even though most of the code is actually C++.
So hardly a win having Kotlin/Native there.