~/talk

The Triumphs and Tribulations of Kotlin-Native in Practice

Talkat droidcon Italy 2019 · 2019-04-04..04-05· [kotlin]
slides:none on file

Claim: Kotlin/Native compiles shared Kotlin to native via LLVM and can run on iOS and Android but demands many workarounds. Tools used: Gradle multi‑platform, Kotlin/Native via LLVM, Ktor client and kotlinx.serialization, Xcode interop that exposes Objective‑C headers. Built a server plus a Raspberry Pi–controlled deadbolt prototype that actually locks/unlocks from both apps. Surprises: coroutine dispatch differs (iOS uses NSURLSession on main thread), freezing object graph causes mutability exceptions, extensive Gradle version friction and manual Xcode linking.

AI-written summary · about

  1. 0:00Start
  2. 15:05FUNCTIONS WITH PER-PLATFORM IMPLEMENTATIONS expect fun
  3. 16:03CALLING CODE FROM BOTH APPS!
  4. 19:52DECIDING WHAT TO CENTRALIZE
  5. 23:29FREEZING
  6. 24:06RETURNING A NEW OBJECT
  7. 33:22runBlocking DOESN'T EXIST FOR ALL PLATFORMS
  8. 35:02SERVER DEVELOPMENT
~/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.