Hacker News new | ask | show | jobs
by jszymborski 1121 days ago
Further to that point, Kotlin mainly targets the JVM (which can run pretty much everywhere), but also can be compiled to JavaScript, LLVM, and a bunch of other targets.

Honestly the only times I've evaluated Kotlin for personal projects was bc of that flexibility.

2 comments

recently kotlin can even be used to compile to native and wasm, but gradle makes it almost less usable than swift
With various levels of implementation quality, Kotlin/Native had to be rebooted, on JS it hardly offers anything better than TypeScript, on the JVM it is mostly used by Android shops anyway.