Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Hello Worlds: A full-stack demo in Multiplatfor...
Search
Russell Wolf
November 09, 2019
Programming
76
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
Transcript
13 slides
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
More Decks by Russell Wolf
See All by Russell Wolf
A Brief History of Kotlin Multiplatform
russhwolf
0
190
Multiplatform Settings 1.0
russhwolf
0
150
What’s New in Kotlin Multiplatform?
russhwolf
2
440
What's new with Kotlin Multiplatform libraries?
russhwolf
0
170
Building Multiplatform Mobile Apps in Kotlin
russhwolf
1
100
Multiplatform Kotlin Library Development
russhwolf
0
140
Multiplatform Library Development
russhwolf
0
240
Bottom-Up Code-Sharing with Kotlin Multiplatform
russhwolf
2
830
Other Decks in Programming
See All in Programming
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
310
手の動かし方がわからなかった私が個人開発者になるまで
usagi0920_pochi
0
250
オーケストレーション記述言語 Katari
yukikurage
0
270
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
590
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
3
570
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
210
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
340
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
はじめてのPLATEAU
nokonoko1203
1
660
protojson における文字化けの扱い
kazuki1023
0
440
Distance field of Julia set
kinakomoti321
0
330
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
Featured
See All Featured
How GitHub (no longer) Works
holman
316
150k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
First, design no harm
axbom
PRO
2
1.4k
Paper Plane
katiecoart
PRO
6
55k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
300
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Speed Design
sergeychernyshev
33
2.2k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
The Cult of Friendly URLs
andyhume
79
7.1k