Reusable Cross-Platform Frameworks with Kotlin/Native
summary
Kotlin/Native compiles Kotlin to LLVM bitcode and can produce an Android .aar and an Xcode-compatible .framework so a shared module is compiled twice and embedded on both platforms. The demo shows common business logic reused as a real iOS framework, Gradle + Kotlin Multiplatform drives the build, and Xcode supports breakpoints and stack traces from Kotlin code though value inspection is missing. Limits include no throws bridging to Objective‑C, App Store bitcode quirks, generics mapping gaps, and differing concurrency and memory tradeoffs.
AI-written summary · about
chapters (21)
- 0:00Shared Cross-Platform Modules with
- 0:48Microsoft Surface
- 2:22A Surface app is like an iPad app
- 6:01Konan Kotlin Native Backend
- 6:30JVM
- 6:41Server-Side
- 6:56Statically Typed
- 7:28How It Works
- 8:32A Kotlin/Native compiler is like a Swift compiler Back End
- 9:37Can I Write in Kotlin?
- 9:54iOS Frameworks
- 10:08Share Between Android and iOS
- 14:46"A Kotlin Framework is like a Swift Framework" r.kt.bc
- 19:09Digging Deeper Debugging
- 20:42Digging Deeper Memory Management
- 21:42Digging Deeper Exceptions
- 22:28Concurrency
- 24:45Current Limitations
- 27:27The Future is Now
- 29:45Kotlin Multiplatform Kotlin/Native
- 30:00Feels Familiar to All Mobile Developers
related talks
31mKotlin Multiplatform for iOS: Myths vs Reality
33mAdvanced Kotlin Native Integration
48mKotlin for Android, iOS & the mobile web
52mBuilding apps using Kotlin Native
31mKotlin/Native for Multiplatform Development
26mKotlin/Native for Multiplatform Development
01h 07mDevelop Multiplatform Projects in Kotlin
18mKotlin native
