Hi, a newbie KMM here I saw a different Coroutine ...
# multiplatform
a
Hi, a newbie KMM here I saw a different Coroutine dependency
coroutines-core-native-mt
for KMM project, is it correct that this one makes Coroutine works on IOS as Android? do still I need it in the newest version or the
coroutines-core
enough?
j
You shouldn't need to use that dependency any more.....with use now of new memory model that was enabled by default in Kotlin 1.7.20 https://kotlinlang.org/docs/native-memory-manager.html
a
Thank you John! can you update your helpful answer here please for upcoming newbie like me
r
i'm not sure about that, because latest coroutines (1.6.4.) are build on kotlin 1.6.21 where the new MM isn't yet enabled by default. I would wait for coroutines 1.7.0, the RC is already released so give it a week, maybe less or use
native-mt
branch
h
The final binary defines the MM, so you can use Kotlin 1.0 (or 16.24) with the new MM too.