5 ms·
The latest versions of Kotlin support multiplatform programming (and hence native compilation) and this feature is actively under development. The JVM is not ne
by opmac 7y ago
The latest versions of Kotlin support multiplatform programming (and hence native compilation) and this feature is actively under development. The JVM is not necessarily needed if you go that route.
https://kotlinlang.org/docs/reference/multiplatform.html https://kotlinlang.org/docs/reference/multiplatform.html
- vips7L 7y agoProbably better off using Graal native-image than kotlin native at this point.
- pjmlp 7y agoSpecially since Kotlin/Native semantics are not 100% like Kotlin on the JVM.
- vips7L 7y agoKotlin barely has a standard library outside of the JVM. They only recently introduced experimental io support and the concurrency model is just plaim weird.
- pjmlp 7y agoYes that is what I mean with semantic differences. I watched a couple of KotlinConf talks, it appears that JetBrains wants to be the next Borland (Kotlin == Turbo Pascal), using the JVM and helped by Android to bootstrap their own eco-system. So even with multiple platform Kotlin there is only so much that you can use from each platform when deciding to go big like that. I don't see it working and think if they want to survive they should focus on the KVM (aka Android).