3 ms·
Java 21 can't have things that Kotlin doesn't have, because you can call any Java method from Kotlin. On the other hand, Kotlin can target native, JS, and WASM
by tadfisher 2y ago
Java 21 can't have things that Kotlin doesn't have, because you can call any Java method from Kotlin.
On the other hand, Kotlin can target native, JS, and WASM platforms as well as the JVM, which is something Java does not do (barring alternative VMs like Graal).