~/talk

Entering the World of Other Platforms Through KMP Gate

Talkat droidcon Italy 2021 · 2021-11-12..11-13· [kotlin, android]
links:none on file
slides:none on file

Claim: the same Kotlin code compiles and runs on Windows Mac Linux Android iOS Web and more by using Kotlin Multiplatform targets and hierarchical source sets. Shows a concrete shared module with commonMain and platform source sets, an expect/actual greeting example, and adding ios x64 and iosArm64 targets. Uses kotlin native jvm js backends plus tooling like Gradle, Cocoapods or Swift Package Manager, and libraries such as ktor client, SQLDelight, kotlinx datetime and coroutines. Notes native threading pitfalls (InvalidMutabilityException) and a released app with ~80% shared code.

AI-written summary · about

  1. 0:00Intro
  2. 1:10Who am I
  3. 1:32What is KMP
  4. 1:50What is a platform
  5. 2:25Coding backends
  6. 3:10Other platforms
  7. 3:43What makes KMP different
  8. 7:05KMP Project Structure
  9. 8:24KMP Shared Module
  10. 13:54Hierarchical Project Structure
  11. 21:42Common Code
  12. 27:40Module
  13. 29:15Greenfield brownfield apps
  14. 30:53How to convince other teams
  15. 34:33Conclusion
~/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.