Entering the World of Other Platforms Through KMP Gate
summary
Claim: the same Kotlin code compiles and runs on Windows Mac Linux Android iOS Web and more by using Kotlin Multiplatform targets and hierarchical source sets. Shows a concrete shared module with commonMain and platform source sets, an expect/actual greeting example, and adding ios x64 and iosArm64 targets. Uses kotlin native jvm js backends plus tooling like Gradle, Cocoapods or Swift Package Manager, and libraries such as ktor client, SQLDelight, kotlinx datetime and coroutines. Notes native threading pitfalls (InvalidMutabilityException) and a released app with ~80% shared code.
AI-written summary · about
chapters (15)
- 0:00Intro
- 1:10Who am I
- 1:32What is KMP
- 1:50What is a platform
- 2:25Coding backends
- 3:10Other platforms
- 3:43What makes KMP different
- 7:05KMP Project Structure
- 8:24KMP Shared Module
- 13:54Hierarchical Project Structure
- 21:42Common Code
- 27:40Module
- 29:15Greenfield brownfield apps
- 30:53How to convince other teams
- 34:33Conclusion
related talks
35mIntro to Kotlin Multiplatform
36mBest Practices for Developing Amazing Kotlin Multiplatform Apps
01h 07mDevelop Multiplatform Projects in Kotlin
48mEffective Multiplatform Kotlin Development
39mAn Overview of Multiplatform Kotlin
17mKotlin Multiplatform – Sharing is caring!
36mKotlin Multiplatform- From “Hello World” to the Real World
31mKotlin Multiplatform for iOS: Myths vs Reality
