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
71
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
180
Multiplatform Settings 1.0
russhwolf
0
140
What’s New in Kotlin Multiplatform?
russhwolf
2
420
What's new with Kotlin Multiplatform libraries?
russhwolf
0
160
Building Multiplatform Mobile Apps in Kotlin
russhwolf
1
100
Multiplatform Kotlin Library Development
russhwolf
0
130
Multiplatform Library Development
russhwolf
0
230
Bottom-Up Code-Sharing with Kotlin Multiplatform
russhwolf
2
820
Other Decks in Programming
See All in Programming
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
4.3k
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
230
型解析で実現する Go の言語内 DSL / Conference に Go! タイムテーブルの歩き方 for Gophers
mazrean
0
130
Go 1.27からのGODEBUG / Go 1.27 リリースパーティ #go127party
mazrean
0
320
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
3
1.5k
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
340
Webエンジニアなのにブラウザの仕組みがわからないので、Pythonで自作してみた
tatsuki12
4
1.7k
一参加者から『中の人』へ 〜全通PHPerがブースに立って学んだ、カンファレンスを100倍楽しむコツ〜
wp_daisuke
0
120
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
160
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
570
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
6
2.5k
AIエージェント時代のコードレビューを設計する
nogu66
6
2.5k
Featured
See All Featured
The Language of Interfaces
destraynor
162
27k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
450
Become a Pro
speakerdeck
PRO
31
6.2k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
310
HDC tutorial
michielstock
2
850
A Tale of Four Properties
chriscoyier
163
24k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
600
GitHub's CSS Performance
jonrohan
1033
470k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Ethics towards AI in product and experience design
skipperchong
2
360
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
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