Oxidize Your Kotlin by Adding Some Rust
summary
Shows a working KTRS demo that wires two Rust functions (add and echo) into a Kotlin Multiplatform module, using cargo and rustup to build native targets, generating a C header via extern "C", and bridging Android via Rust + JNI with manual CNAME and string conversions. Prints go to Android log after adding an Android-specific Rust implementation. Mentions tooling options like Kotlin Multiplatform, UniFFI (and a KMP glue project) to generate bindings instead of handcrafting the pipeline.
AI-written summary · about
chapters (7)
- 0:00Kotlin multiplatform basics
- 6:04Introduction to Rust
- 12:51Combining Kotlin and Rust
- 17:20Implementing the interop
- 33:19Platform-specific concerns
- 38:00Automated tooling options
- 40:02Learnings and final thoughts
related talks
37mUsing Rust in Your Next KMP App
39mSeamless Multiplatform – Kotlin-Rust-Multiplatform?!
33mOxidizing KDE: How, why, and why not?
37mSharing Code between iOS & Android with Rust
30mShipping production ready Rust for Android
45mC++ Rust and Qt Easier than you think
19mHow To Integrate Rust Into A React Native App
30mSharing Code between iOS & Android with Rust
