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
140
Multiplatform Settings 1.0
russhwolf
0
96
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
画像コンペでのベースラインモデルの育て方
tattaka
3
1.7k
Dart 参戦!!静的型付き言語界の隠れた実力者
kno3a87
0
200
『リコリス・リコイル』に学ぶ!! 〜キャリア戦略における計画的偶発性理論と変わる勇気の重要性〜
wanko_it
1
520
AHC051解法紹介
eijirou
0
540
大規模FlutterプロジェクトのCI実行時間を約8割削減した話
teamlab
PRO
0
470
#QiitaBash TDDで(自分の)開発がどう変わったか
ryosukedtomita
1
370
GitHub Copilotの全体像と活用のヒント AI駆動開発の最初の一歩
74th
7
2.8k
Comparing decimals in Swift Testing
417_72ki
0
170
What's new in Adaptive Android development
fornewid
0
140
Claude Code と OpenAI o3 で メタデータ情報を作る
laket
0
130
エンジニアのための”最低限いい感じ”デザイン入門
shunshobon
0
110
JetBrainsのAI機能の紹介 #jjug
yusuke
0
200
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.2k
Side Projects
sachag
455
43k
Docker and Python
trallard
45
3.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
47
9.6k
GitHub's CSS Performance
jonrohan
1031
460k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
110
20k
Rails Girls Zürich Keynote
gr2m
95
14k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.3k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
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