Re:Making Games with Kotlin
by mmahemoff on Wednesday December 11, 2019 @03:47AM
(#21760701)
As well as the JVM, there is Kotlin/Native, based on LLVM. This allows a Kotlin mobile app to run on JVM in Android and as a compiled binary on iOS. It can also target WebAssembly to run in a browser too.
[ Parent
| on HN ]
Kotlin/Native suffers from not having neither the same sematics as Kotlin on the JVM, nor the large pool of available libraries or performance.
Most importantly, Kotlin Native has no proper multithreading, it only uses JS-style single thread
There's threading, just not as painless as in JVM
https://touchlab.co/kotlin-native-stranger-threads-ep-1/
We're even getting early support for multi-threaded coroutines
https://github.com/Kotlin/kotlinx.coroutines/blob/native-mt/...