The New Memory Manager Explained
How modern Kotlin/Native handles shared state.
Memory on Kotlin/Native
On iOS your shared code runs as Kotlin/Native, which manages its own memory. Knowing how it works keeps your app stable.
The Old Days Were Painful
The original model froze objects so threads could share them. That freezing rule caused confusing crashes and a lot of workarounds.
All lessons in this course
- The New Memory Manager Explained
- Main vs Background on iOS
- Mutable State & Race Conditions
- Debug Freezes & Threading Crashes