Kotlin Multiplatform: code sharing without compromise
summary
Kotlin Multiplatform shares concrete modules — a Sudoku solver, JSON via kotlinx.serialization, and a storage layer implemented with expect/actual — compiled for JVM JS and native. It uses the Gradle multiplatform plugin, SQLDelight for DB options, coroutines (Android threads OK, native coroutines single‑threaded), and Kotlin/Native frameworks with the single‑framework limit. Result: Android build is fully playable, iOS mostly works via Xcode, JS shows a noninteractive demo, seeded RNG produces identical boards across platforms.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:525 years ago
- 1:42The idea
- 3:10The implementation
- 5:34Building cross-platform apos
- 8:22Sharing code the Kotlin way
- 10:27Building a Sudoku app
- 13:26Kotlin MPP libraries Standard Ibrary
- 17:44Platform specific implementations
- 20:01The three flavors of Kotlin
- 24:30Kotlin/Native lessons learned / gotchas
related talks
01h 07mDevelop Multiplatform Projects in Kotlin
31mKotlin Multiplatform
41mKotlin Multiplatform In Production
48mEffective Multiplatform Kotlin Development
39mAn Overview of Multiplatform Kotlin
35mIntro to Kotlin Multiplatform
42mEmbracing the Future in a Multiplatform World: A Kotlin Story
17mKotlin Multiplatform – Sharing is caring!
