~/talk

Kotlin Multiplatform: code sharing without compromise

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

Kotlin Multiplatform shares concrete modules — a Sudoku solver, JSON via kotlinx.serialization, and a storage layer implemented with expect/actual — compiled for JVM JS and native. It uses the Gradle multiplatform plugin, SQLDelight for DB options, coroutines (Android threads OK, native coroutines single‑threaded), and Kotlin/Native frameworks with the single‑framework limit. Result: Android build is fully playable, iOS mostly works via Xcode, JS shows a noninteractive demo, seeded RNG produces identical boards across platforms.

AI-written summary · about

  1. 0:00Start
  2. 0:525 years ago
  3. 1:42The idea
  4. 3:10The implementation
  5. 5:34Building cross-platform apos
  6. 8:22Sharing code the Kotlin way
  7. 10:27Building a Sudoku app
  8. 13:26Kotlin MPP libraries Standard Ibrary
  9. 17:44Platform specific implementations
  10. 20:01The three flavors of Kotlin
  11. 24:30Kotlin/Native lessons learned / gotchas
~/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.