All-Stacks Kotlin
summary
Concrete results and gotchas: a web backend plus Android and iOS clients compile from one codebase and 90% shared code is achievable, producing jar/aar/framework/js artifacts. Tooling used includes Kotlin/Native, Kotlin/JS, Gradle multiplatform plugins, CocoaPods integration and JetBrains’ Xcode plugin. Real limitations: Kotlin/Native freezing semantics and lack of JVM reflection/annotation processors, coroutines require a custom main dispatcher on iOS, and kotlinx.serialization plus SQLDelight are the workable serialization and persistence paths. The demo runs with these caveats.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 3:10How does Kotlin work
- 4:35Kotlin native compiler
- 12:30Code sharing
- 17:12Android client
- 20:04iOS client
- 25:39Coroutines
- 28:23Sterilization
- 30:42Questions
related talks
40mFull-Stack Kotlin
33mUsing Kotlin for JS Client and JVM Server
48mKotlin for Android, iOS & the mobile web
46mExploring the Kotlin Multiplatform Ecosystem
34mKotlin Multiplatform: code sharing without compromise
48mEffective Multiplatform Kotlin Development
48mEffective Multiplatform Kotlin Development
52mBuilding apps using Kotlin Native
