Join Slack
Is it recommended to use the new Memory Model for new KMM Projects? If yes, what are the compatible ...
# multiplatform
t
Thomas Kranzer
03/16/2022, 11:42 AM
Is it recommended to use the new Memory Model for new KMM Projects? If yes, what are the compatible (and recommended) versions for Coroutines, Ktor, SqlDelight and Koin?
m
Martin Rajniak
03/16/2022, 1:51 PM
Hi, it is still experimental, so I doubt you will get an official recommendation 🙂 But I would definitely go for it. Especially since it is a new project and old model required a lot of hacks to work. Touchlab defaulting to new memory model might also help you decide 😉
https://touchlab.co/kmm-memory-model-when-to-switch/
There is a migration guide where you can find details about versions.
https://github.com/JetBrains/kotlin/blob/master/kotlin-native/NEW_MM.md#enable-the-new-mm
But you can still use it with older versions of libraries.
https://github.com/JetBrains/kotlin/blob/master/kotlin-native/NEW_MM.md#using-previous-versions-of-the-libraries
36
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by