What’s position of Kotlin Native in the Kotlin ecosystem? Will it stay in future, or be dropped as experimental project?

I went away from Java/Kotlin/JVM roughly two years ago. However, Kotlin Native is looking very interesting.

If one of primary requirements, in certain context of use, is:

  • supports AoT compilation to native binary.

Then Kotlin with Kotlin Native is the best choice of language for the corresponding context, IMO. The Kotlin language, syntax and semantics is so great.

However, if Kotlin Native ceases to exists, or becomes unsupported, then it would create a big hard time for future – rewrite.

So, I’m bit wary about Kotlin and Kotlin Native. Because, native is not the primary compilation target of Kotlin, but a plugin/optional/additional separated compilation tool.

Languages compiling only to native binary, or as their primary target, don’t pose this risk. However, there’s no single language compiled to native, that would be so great as Kotlin regarding syntax and semantics.

Also, Kotlin Native isn’t (officially) supported on NixOS. And, I didn’t make it work via generated Gradle + Kotlin Native project from Intellij IDEA… (off-topic though, I’ll get through this, if I’ll have confidence in Kotlin’s future)

submitted by /u/mirokra
[link] [comments]