6 ms·
I dont understand the selling point for a Kotlin VM or Native compilation Isnt the whole selling point for Kotlin, is that it is a JVM hosted languages, that g
by systems 6y ago
I dont understand the selling point for a Kotlin VM or Native compilation
Isnt the whole selling point for Kotlin, is that it is a JVM hosted languages, that give you access to all Java Libraries, framework and tools .. but purportedly .. is an easier, nicer , more language language compared to Java, Scala or the other JVM languages
Why go elsewhere, why go native, or develop their own VM ?
Any improvement in the JVM benefits Kotlin, correct or am I missing something ?
- pjmlp 6y agoApparently no, that is why they started Kotlin/Native instead of ping back into AOT compilers for Java, and in Kotlin forums tends to exist an high disregard for anything Java.
- thu2111 6y agoActually the story I heard is that Kotlin/Native exists simply because Intel was laying off a compiler team in St Petersburg around that time, so they came on the market as a group and could be picked up easily and quickly. And they wanted to push into iOS. Could they have done a SubstrateVM/GraalVM competitor instead? Yeah probably, but that's a very different project to adding another backend to Kotlin. Given they already decided to make Kotlin "multi-platform" (i.e. js backend) instead of making Java more portable, it then made sense to go the whole way. JetBrains also developed TeaVM and arguably it'd have been better to just invest in JVM related tooling, and keep Kotlin as a JVM language. But I think they like the idea of it being its own ecosystem. Who wouldn't, in their position?