https://kotlinlang.org logo
#coroutines
Title
# coroutines
j

JoakimForslund

03/20/2019, 10:30 AM
Any chance of ever seeing coroutines in androidNative? It would be greatly appreciated to be able to use both iOS and androidNative directly instead of having to use JNI communication
g

gildor

03/20/2019, 11:51 AM
What is Android Native?
ex
g

gildor

03/20/2019, 12:13 PM
You can use coroutines in K/N
j

JoakimForslund

03/20/2019, 12:15 PM
Yes, but the arm target is not supported
targets = ["ios_arm64", "ios_arm32", "ios_x64", "macos_x64", "linux_x64", "mingw_x64"]
e

elizarov

03/20/2019, 12:40 PM
You can contribute it. Send PR against
develop
branch of
kotlinx.coroutines
.
j

JoakimForslund

03/20/2019, 12:45 PM
@elizarov Im guessing that there is nothing in the pipeline then. If I ever find the downtime I will for sure look into that venue
e

elizarov

03/20/2019, 12:45 PM
Not easy, though. You’ll need to start with contribution to
atomicfu
.
j

JoakimForslund

03/20/2019, 12:51 PM
@elizarov FYI. I love what you are doing with kotlin and kotlin native. I hope that you are feeling that people are passionate about it all and not take this all as bashing, because it is amazing you have taken us this far!
3 Views