logoalt Hacker News

jayd16 • today at 5:57 PM • 2 replies • view on HN

Is that relevant? Kotlin fully exists without the JVM, as requested.


Replies

dathanb82 • today at 6:07 PM

Sort of? The kotlin standard library yes, but it’s pretty rare to write an app with only the standard library. It feels like you’re dismissing the Java interop as a secondary benefit, but for most uses of Kotlin it’s probably more important to project success than the language itself. So I think it’s accurate that without the JVM Kotlin would be essentially dead.

➕ show 1 reply
pjmlp • today at 6:02 PM

A subset of Kotlin has a native backend, not good enough to power JetBrains products, which still require Java Virtual Machine.

It is so good, that JetBrains themselves rather use Rust or C++ for native code libraries on their IDEs, and not officially supported on the Android NDK.

➕ show 1 reply