Company
Date Published
Author
Benoit Lubek
Word count
379
Language
English
Hacker News points
None

Summary

Apollo Kotlin has introduced a new multiplatform memory manager that simplifies concurrency and makes it easier to write native code. The new memory manager removes specific rules regarding multithreading and immutability, allowing native code to be written like JVM code when it comes to concurrency. This change will become the default starting with Kotlin 1.7.20 and is expected to improve performance by up to 45%. Developers who use Apollo Kotlin will need to switch to the new memory manager before upgrading to version 3.5.0, which also introduces improved unit testing capabilities and removes the requirement to run suspend functions from the Main thread on Apple targets. The change is part of Kotlin Multiplatform's ongoing evolution to make it easier to use.