Home / Companies / Apollo / Blog / Post Details
Content Deep Dive

What’s new with Multiplatform in Apollo Kotlin

Blog post from Apollo

Post Details
Company
Date Published
Author
Benoit Lubek
Word Count
549
Language
English
Hacker News Points
-
Summary

Apollo Kotlin has adopted the Hierarchical Multi-Platform Project (HMPP) convention in its latest release, 3.3.0, enabling code-sharing among several platforms without custom scripting. This allows users to update their project to use Kotlin 1.6.20+, which is now enabled by default. Apollo Kotlin also introduces a new Memory Manager for native code development, addressing concurrency issues such as `IncorrectDereferenceException` and `InvalidMutabilityException`. The new memory manager is currently alpha but compatible with Apollo Kotlin, allowing users to enable it on their project with the flag `kotlin.native.binary.memoryModel=experimental`. With these updates, Apollo Kotlin continues to evolve in line with Kotlin Multiplatform's advancements, aiming to provide a solid and nice-to-use experience for developers.