-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Kotlin Multiplatform memory model #192
Comments
It should work now with https:/JetBrains/kotlin/blob/master/kotlin-native/NEW_MM.md#unexpected-object-freezing (for atomicfu atomics). All other places should be covered by coroutines and ktor. |
Ok great. I understood that the support is already there from this comment and the same goes for coroutines. Are there any snapshot builds available (0.14.0)? :) |
The same with rsocket-kotlin. On current moment, both stable versions of ktor and rsocket-kotlin supports new MM with flag to disable freezing.
no :(, because our snapshot artifactory is shutdown. Soon there will be 0.14.0 release and support for snapshots via github packages |
Update: looks like from ktor 2.0 (looking at Drop old native memory model) ktor will support only new MM. So after ktor 2.0 release, we will also need to adapt rsocket-kotlin to new MM by default. |
Ktor 2.0 released, and rsocket-kotlin is already migrated to it, and using new memory manager by default. |
Supported from 0.15.4 |
Hi guys, I see that release 0.14.0 is just around the corner. Do you plan to support new KMM soon? It looks like relatively simple update.
Coroutines version 1.6.0-RC or 1.6.0-RC2 and Ktor version 1.6.7 supports new MM by default (that's what I've gathered from the Youtrack and Github issues recently).
Motivation
Lifted freezing restrictions on native
Desired solution
As stated in the migration guide above
Additional context
Side note: Is there 0.14.x Snapshot version available anywhere?
The text was updated successfully, but these errors were encountered: