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
64
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
150
Multiplatform Settings 1.0
russhwolf
0
100
What’s New in Kotlin Multiplatform?
russhwolf
2
380
What's new with Kotlin Multiplatform libraries?
russhwolf
0
150
Building Multiplatform Mobile Apps in Kotlin
russhwolf
1
82
Multiplatform Kotlin Library Development
russhwolf
0
120
Multiplatform Library Development
russhwolf
0
220
Bottom-Up Code-Sharing with Kotlin Multiplatform
russhwolf
2
810
Other Decks in Programming
See All in Programming
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
210
開発生産性を上げるための生成AI活用術
starfish719
2
210
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
150
CSC509 Lecture 05
javiergs
PRO
0
300
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
220
CSC305 Lecture 04
javiergs
PRO
0
260
詳しくない分野でのVibe Codingで困ったことと学び/vibe-coding-in-unfamiliar-area
shibayu36
3
4.7k
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
120
Railsだからできる 例外業務に禍根を残さない 設定設計パターン
ei_ei_eiichi
0
380
Go Conference 2025: Goで体感するMultipath TCP ― Go 1.24 時代の MPTCP Listener を理解する
takehaya
7
1.6k
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
200
ネイティブ製ガントチャートUIを作って学ぶUICollectionViewLayoutの威力
jrsaruo
0
140
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Being A Developer After 40
akosma
91
590k
Why Our Code Smells
bkeepers
PRO
339
57k
Build your cross-platform service in a week with App Engine
jlugia
232
18k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
850
The World Runs on Bad Software
bkeepers
PRO
71
11k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
32
2.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
Site-Speed That Sticks
csswizardry
11
890
Thoughts on Productivity
jonyablonski
70
4.9k
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