Is there any way to do 2 things at once without JV...
# kotlin-native
b
Is there any way to do 2 things at once without JVM/JS? I was hoping to use coroutines or threads
a
Not very well-documented yet, but this sample exists for Kotlin Native: https://github.com/JetBrains/kotlin-native/blob/master/samples/workers/Workers.kt
n
Would that mean message passing (eg Actors)?
h
heard that you can use coroutines in kotlin native
n
Kotlin Native does have Coroutines support but there are no third party Kotlin Native Coroutine libs (provides the Coroutines implementation) yet... ⏲️
o
Yes, coroutines are supported
b
So... how do I write K/N coroutines???
how did you build? I can build the sample without problems with build.sh in sample dir
b
I hit "Build Project" in IDEA, on a Kotlin/Common module (Not JVM or JS)