Kotlin native
summary
Overview of using Kotlin Native to share business logic with iOS/macOS apps: Kotlin compiler emits LLVM IR to build a Cocoa-compatible framework, used to run Apollo Android on iOS and macOS and included via CocoaPods or a monorepo build step. Compilation is slow — a 10k-line app causes one minute linking for a single-line change — and a JDK is required. Debugging is possible via LLDB and dual debug symbols. Memory interop forces immutability and manual freeze for safe multithreading; JetBrains signals future changes. KMM is largely marketing; some companies (Square, JetBrains Space) ship Kotlin Native in production.
AI-written summary · about
chapters (13)
- 0:00Intro
- 0:45About me
- 1:50About Kotlin
- 2:56Kotlin features
- 3:30Kotlin compiler
- 4:13Objective C
- 5:35Framework
- 6:43Limitations
- 7:40Swift UI
- 8:06Debugging
- 8:40Android Studio
- 10:53Conclusion
- 11:15Questions
related talks
52mBuilding apps using Kotlin Native
31mKotlin/Native for Multiplatform Development
26mKotlin/Native for Multiplatform Development
39mDependencies and Kotlin/Native
30mReusable Cross-Platform Frameworks with Kotlin/Native
43mThe Triumphs and Tribulations of Kotlin-Native in Practice
52mKEYNOTE: Kotlin/Native – Embracing existing ecosystems
48mKotlin for Android, iOS & the mobile web
