Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Hello Worlds: A full-stack demo in Multiplatfor...
Search
Russell Wolf
November 09, 2019
Programming
0
60
Hello Worlds: A full-stack demo in Multiplatform Kotlin
Russell Wolf
November 09, 2019
Tweet
Share
More Decks by Russell Wolf
See All by Russell Wolf
A Brief History of Kotlin Multiplatform
russhwolf
0
110
Multiplatform Settings 1.0
russhwolf
0
65
What’s New in Kotlin Multiplatform?
russhwolf
2
350
What's new with Kotlin Multiplatform libraries?
russhwolf
0
140
Building Multiplatform Mobile Apps in Kotlin
russhwolf
1
74
Multiplatform Kotlin Library Development
russhwolf
0
110
Multiplatform Library Development
russhwolf
0
210
Bottom-Up Code-Sharing with Kotlin Multiplatform
russhwolf
2
790
Other Decks in Programming
See All in Programming
fs2-io を試してたらバグを見つけて直した話
chencmd
0
260
バグを見つけた?それAppleに直してもらおう!
uetyo
0
190
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
6
1.2k
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
160
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
400
毎日13時間もかかるバッチ処理をたった3日で60%短縮するためにやったこと
sho_ssk_
1
420
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
300
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.1k
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
160
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
160
React 19でお手軽にCSS-in-JSを自作する
yukukotani
5
450
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
210
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Visualization
eitanlees
146
15k
Embracing the Ebb and Flow
colly
84
4.5k
Faster Mobile Websites
deanohume
305
30k
The Pragmatic Product Professional
lauravandoore
32
6.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
820
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
171
50k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Music & Morning Musume
bryan
46
6.2k
Transcript
Hello Worlds A full-stack demo in Multiplatform Kotlin Russell Wolf
11/9/19
Background
Kotlin is ... • Android • Server-side JVM • JS
(frontend or node) • Native (C interop) • iOS (Obj-C interop)
Multiplatform Kotlin • Compile common code to multiple targets •
JVM, JS, Android, Desktop, iOS, Embedded, WASM • Use platform-specific code to access platform APIs
Multiplatform Hello World • https://github.com/russhwolf/ multiplatform-hello • Android, iOS, Server
• ktor, serialization, coroutines
Hello Common Android iOS JVM Swift
Hello Shared Common Android iOS JVM Swift
Hello Shared Server Common Android iOS JVM Swift
Hello Mobile Shared Shared Server Common Android iOS JVM Swift
Hello Mobile Shared Android App iOS App Shared Server Common
Android iOS JVM Swift
Code time!
Lessons • Shared models between frontend and backend • Shared
web calls between mobile clients • Kotlin Everywhere!
Thanks! • Questions? • @RussHWolf ( or ) • https://github.com/russhwolf/multiplatform-hello
• https://kotlinlang.org/docs/reference/multiplatform.html • https://kotlinlang.org/docs/reference/building-mpp-with- gradle.html • https://play.kotlinlang.org/hands-on/overview