News for hackers. Stuff that matters.

rabenblut

Re:Making Games with Kotlin on Wednesday December 11, 2019 @04:41AM (#21760972)
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/...

This is the approach used with Kotlin multiplatform development.

I suspect it will be the best way going forward, other approaches all have serious issues.

https://kotlinlang.org/docs/reference/multiplatform.html

Irrelevant, Kotlin is still better than Java