~/talk

KMP with non-Kotlin languages

Talkat droidcon New York 2025 · 2025-06-25..06-26· [kotlin, android]
slides:none on file

Shows concrete patterns for using Kotlin Multiplatform with existing native libraries: how Skia binding via C++ glue uses external functions and JNI name quirks that break at runtime, how C interop with header-driven stubs makes QuickJS/Zipline type-safe on native, and how using jextract (Java 22) + generated bindings yields safer JVM JNI at the cost of extra build variants. Demonstrates a Zig-based fast C/C++ build (sub-500 ms), trade-offs between runtime fragility and build complexity, and a tiny multi-language demo (C, C++, Rust, Swift, Zig) exposing a C ABI.

AI-written summary · about

  1. 0:00Kotlin multiplatform intro
  2. 3:12Multiplatform library reuse
  3. 7:23Skia for Kotlin multiplatform
  4. 13:42Safety with Zipline
  5. 23:14Mosaic and native libraries
  6. 36:35Native library wrapper
  7. 39:51Summary
~/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.