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
370
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
構文解析器入門
ydah
7
1.8k
ZeroETLで始めるDynamoDBとS3の連携
afooooil
0
120
PHPカンファレンス関西2025 基調講演
sugimotokei
5
940
商品比較サービス「マイベスト」における パーソナライズレコメンドの第一歩
ucchiii43
0
200
可変変数との向き合い方 $$変数名が踊り出す$$ / php conference Variable variables
gunji
0
230
AIのメモリー
watany
11
960
Jakarta EE Meets AI
ivargrimstad
0
280
「テストは愚直&&網羅的に書くほどよい」という誤解 / Test Smarter, Not Harder
munetoshi
1
220
DMMを支える決済基盤の技術的負債にどう立ち向かうか / Addressing Technical Debt in Payment Infrastructure
yoshiyoshifujii
4
600
MCPで実現できる、Webサービス利用体験について
syumai
7
1.9k
MySQL9でベクトルカラム登場!PHP×AWSでのAI/類似検索はこう変わる
suguruooki
1
220
AI Ramen Fight
yusukebe
0
110
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.1k
Embracing the Ebb and Flow
colly
86
4.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Documentation Writing (for coders)
carmenintech
72
4.9k
Raft: Consensus for Rubyists
vanstee
140
7k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Producing Creativity
orderedlist
PRO
346
40k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
We Have a Design System, Now What?
morganepeng
53
7.7k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Navigating Team Friction
lara
187
15k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
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