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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Russell Wolf
November 09, 2019
Programming
69
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Hello Worlds: A full-stack demo in Multiplatform Kotlin
Russell Wolf
November 09, 2019
More Decks by Russell Wolf
See All by Russell Wolf
A Brief History of Kotlin Multiplatform
russhwolf
0
170
Multiplatform Settings 1.0
russhwolf
0
120
What’s New in Kotlin Multiplatform?
russhwolf
2
410
What's new with Kotlin Multiplatform libraries?
russhwolf
0
160
Building Multiplatform Mobile Apps in Kotlin
russhwolf
1
91
Multiplatform Kotlin Library Development
russhwolf
0
120
Multiplatform Library Development
russhwolf
0
230
Bottom-Up Code-Sharing with Kotlin Multiplatform
russhwolf
2
820
Other Decks in Programming
See All in Programming
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
240
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
3.5k
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
120
Claspは野良GASの夢をみるか
takter00
0
180
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
280
Oxlintのカスタムルールの現況
syumai
6
1k
Vite+ Unified Toolchain for the Web
naokihaba
0
130
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
620
RTSPクライアントを自作してみた話
simotin13
0
510
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
330
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
370
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The Language of Interfaces
destraynor
162
27k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
400
Are puppies a ranking factor?
jonoalderson
1
3.5k
WCS-LA-2024
lcolladotor
0
620
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
450
Documentation Writing (for coders)
carmenintech
77
5.4k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
170
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
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