~/talk

Using Rust in Your Next KMP App

Talkat droidcon New York 2024 · 2024-09-19..09-20· [rust, kotlin]
slides:none on file

Rust gets integrated into a Kotlin Multiplatform app to move performance‑sensitive logic into a safe native layer, using rustup and cargo to build a static lib, Kotlin/Native C interop plus the Android NDK and JNI to bridge JVM code, and Xcode to link the iOS framework. The demo compiles for four Android ABIs and three iOS targets, required copying liḃshared.so into jniLibs, and wires a simple add_numbers function end‑to‑end; native breakpoints hit in Rust but continuation is limited, and unsafe glue is necessary for FFI.

AI-written summary · about

  1. 0:00Rust in KMP apps
  2. 2:07Why choose Rust
  3. 7:45Simple Rust library
  4. 14:52Kotlin Multiplatform config
  5. 18:02Rust to iOS bridge
  6. 20:32Android native library
  7. 25:49JNI bridge for Android
  8. 28:41Live calculator demo
  9. 31:29Rust worth the effort
  10. 33:17Debug Rust in Xcode
  11. 35:26Rust getting started
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.