~/talk

Dependencies and Kotlin/Native

Talkat droidcon Berlin 2025 · 2025-09-24..09-26· [kotlin]
slides:none on file

Kotlin/Native forces you to reconcile JVM artifacts and real native binaries: Gradle/Kotlin produce IR (klib) then a second compile+link step that emits architecture‑specific object code, and C interop generates headers-to-klib bindings. Using CocoaPods and Swift Package Manager or Carthage yields either vendored frameworks or source that become static or dynamic libs, which leads to the common failure mode of duplicate global symbols and App Store‑time crashes. The practical fix is static vs dynamic linking — prefer static KMP frameworks or use autolinking/linker flags to avoid duplicated symbols — and treat native warnings as urgent errors.

AI-written summary · about

  1. 0:00Dependencies and Kotlin/Native
  2. 2:09JVM vs native dependencies
  3. 5:00Compilation and linking
  4. 8:52Native symbols explained
  5. 13:31Static vs dynamic libraries
  6. 17:05Dynamic libraries in mobile
  7. 23:16Kotlin/Native compilation
  8. 28:03Static library problems
  9. 34:29System libraries in Kotlin/Native
  10. 35:53Warnings in native development
  11. 36:59Kotlin/Native dependency best practices
~/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.