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

John O'Reilly

07/29/2020, 3:07 PM
Has there been indication yet on whether
native-mt
version of kotlinx coroutines will be made available that works with Kotlin 1.4? (doesn't look at least like there's one corresponding to -rc release)
r

russhwolf

07/29/2020, 3:50 PM
Roman's blog post on the memory model changes suggested they will continue to release native-mt stuff, but it doesn't look like there's been any actual updates since M2. My guess is it got to be too complicated to juggle multiple lib releases during the preview period and we'll see something after the 1.4 release. But no official word on anything that I'm aware of.
j

John O'Reilly

07/29/2020, 3:51 PM
Yeah, hopefully....the other moving part here is ktor's planned integration of
native-mt
stuff
a

Andrea Prearo

07/29/2020, 4:01 PM
That would be great. Ktor has been a bit problematic as I tried to use the
native-mt
coroutines.
j

John O'Reilly

07/29/2020, 4:04 PM
r

russhwolf

07/29/2020, 5:22 PM
Oh nice I missed that branch. Hopefully some good news soon then.
r

rudolf.hladik

07/30/2020, 8:17 AM
maybe @e5l has some insight about ktor native-mt 1.4-rc support
c

Chris Mulder

07/30/2020, 11:10 AM
note, you need to do something like following to avoid transitive dependencies of likes of ktor picking up non
native-mt
version .....though of course, as per above, hopefully have version of ktor soon that works with
native-mt
Copy code
implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}") {
                force = true
            }
r

russhwolf

07/30/2020, 4:38 PM
That's always been true for working with native-mt and ktor, I think
j

John O'Reilly

07/30/2020, 4:56 PM
It's funny....I definitely did have to do that at one stage but for some reason that hadn't been case for last while.....this is new project and is using 1.4 based structure where I only have to add dependency for
common
so not sure if that's a factor as well
initial testing with this for Android and iOS looks good .....but getting following now for some reason for macOS client
Copy code
Undefined symbol: __kernelrpc_mach_port_destroy_trap
6 Views