Hacker News new | ask | show | jobs
by vitoreiji 2592 days ago
I bet they have plans to make a different VM for Kotlin and move away from JVM, should be coming in the next couple of years.
4 comments

Kotlin already has one in the form of Kotlin Native. So far no involvement from Google on that front, but things could change.
Kotlin already has a native compiler (targeting iOS and so forth).
Yes, especially that Kotlin already targets various architectures.
Why bother? Being on the JVM has many advantages and building some new VM (and compiler?) would be extra hassle and expense for not much gain.
moving away from oracle is `not much gain`?
There's already at least two big-name alternatives to Oracle Java: The OpenJDK and Amazon's Corretto. If you're suggesting Google might make their own "supported" OpenJDK build, then sure, that might be worth something. That's different than moving away from JVM entirely to a different compiler target, as suggested by the parent comment.
OpenJDK is like 90% developed by Oracle with smaller contributions from other partners in the Java community, including the JEPs that bring Java forward.
Oracle v Google
Android has been using OpenJDK for a while with no problems.
As far as I can tell, Oracle vs Google was due to Google not using OpenJDK, but their own implementation.
Moreover, their implementation didn’t work on standard compliand JVMs, and was called Java, despite being only similar to Java. Even Microsoft’s J++ worked on different JVMs if you didn’d use Windows specific classes...