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

nil2l

12/16/2017, 1:55 PM
Are you using coroutines in production? No problems (e.g. on old devices)? (Android)
v

voddan

12/16/2017, 2:01 PM
What kind of problems do you anticipate? Decompiled coroutine-based code is a very dumb state-machine. None of the advanced platform features are used
n

nil2l

12/16/2017, 2:05 PM
Well… Any. E.g. recently I got runtime crash on call Map.getOrDefault() as it
since 1.8
. Ofc. it’s not about coroutines but about “what kind”.
k

krenvpravo

12/16/2017, 10:40 PM
Only problems I've got - race conditions, that is very easy to get when writing straightforward code without thinking of racing.
But this is not problem of coroutines, it's in my code.
l

louiscad

12/17/2017, 12:29 PM
I'm using coroutines (with kotlinx lib) in 2 production Android apps and it's working perfectly
🍾 1
6 Views