rabenblut·7년 전·discussThere's threading, just not as painless as in JVMhttps://touchlab.co/kotlin-native-stranger-threads-ep-1/We're even getting early support for multi-threaded coroutineshttps://github.com/Kotlin/kotlinx.coroutines/blob/native-mt/...
rabenblut·7년 전·discussThis 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
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/...