Seamless Multiplatform – Kotlin-Rust-Multiplatform?!
summary
Proof‑of‑concept shows Kotlin Multiplatform calling Rust for crypto and big integers, shipping a cat‑image app to Android, iOS, JVM desktop and the web; build uses wasm-pack for browser, JNI/NDK crate plus Mozilla’s Rust Gradle plugin for JVM/Android, and a C bridge for native iOS. Data crosses boundaries as serialized strings (avoid complex types), tests exercise the bindings, the demo runs, but mobile Rust tooling and debuggers are immature and concurrency is easier to keep in Kotlin.
AI-written summary · about
chapters (20)
- 0:00Introduction and speaker
- 1:47Why Kotlin-Rust integration
- 4:37Multiplatform vs crossplatform
- 8:09Goals of multiplatform
- 12:04Why Rust for multiplatform
- 15:54Rust challenges and considerations
- 17:37Rust code basics
- 21:09Demo app overview
- 22:13Server setup
- 23:38JVM and Android integration
- 26:05Kotlin desktop integration
- 27:11JavaScript with WebAssembly
- 29:41Native iOS integration
- 31:05C bridge and memory handling
- 33:09Data handling strategies
- 34:12Testing and debugging tips
- 35:16Concurrency pitfalls
- 36:22Learning curve and resources
- 37:49Helpful tools and libraries
- 39:12Q&A
related talks
37mUsing Rust in Your Next KMP App
48mEffective Multiplatform Kotlin Development
48mEffective Multiplatform Kotlin Development
36mExploring Kotlin Multiplatform
43mOxidize Your Kotlin by Adding Some Rust
34mKotlin Multiplatform: code sharing without compromise
01h 07mDevelop Multiplatform Projects in Kotlin
46mExploring the Kotlin Multiplatform Ecosystem
