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
iOSDC2025_ソニーのKMP/CMP挑戦記
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ソニー株式会社
September 19, 2025
1.5k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
iOSDC2025_ソニーのKMP/CMP挑戦記
ソニー株式会社
September 19, 2025
More Decks by ソニー株式会社
See All by ソニー株式会社
Sony-DroidKaigi2026
sony
1
290
Flutterをカメラで動かしたかった話
sony
1
180
Sony_KMP_Journey_KotlinConf2026
sony
3
290
ソニーのスマホ通信制御エンジニアから東大博士へ~東大で 5G/6G研究に挑んだ 3年間~
sony
1
300
ソニー Creators' Cloudチームのハッカソン~生成AIで加速するイノベーション~
sony
1
230
Connpass-Xperia_Camera_App_by_HCD.pdf
sony
2
770
GitHub を組織的に使いこなすために ソニーが実践した全社展開のプラクティス
sony
28
20k
マイクロリブート ~ACEマインドセットで実現するアジャイル~
sony
2
880
ソニーの遊びのUXデザイン_アクセスコントローラー
sony
1
190
Featured
See All Featured
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
800
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Being A Developer After 40
akosma
91
590k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
400
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
460
Game over? The fight for quality and originality in the time of robots
wayneb77
1
260
What's in a price? How to price your products and services
michaelherold
247
13k
It's Worth the Effort
3n
188
29k
Leo the Paperboy
mayatellez
8
2.2k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
430
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
710
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Transcript
@sergiocarrilho Sergio Carrilho ソニーのKMP/CMP挑戦記 Sony’s Story with KMP/CMP TechLead |
Sony
iOSエンジニアの可能性を広げる ソニーがKotlin/Compose Multiplatformに挑戦した理由 (あなたもぜひ)
iOSエンジニアの可能性を広げる ソニーがKotlin/Compose Multiplatformに挑戦した理由 (あなたもぜひ????)
01 Why KMP/CMP 02 How we did it? 03 Should
you do it?
None
2018
>>Next project...
UI UI Biz Logic Biz Logic Until now
UI UI Goal Biz Logic
Sensing trigger Context Action data
Requirement 1.iOS & Android 2.High performance 3.Platform APIs (BLE, GPS,
BG...)
Why
UI UI Business/Domain Data/Core iOS APIs Android APIs iOS Android
KMP (shared)
Native UIs Bytecode LLVM Kotlin Multiplatform JVM Kotlin/Native
Bytecode LLVM Kotlin Multiplatform JVM Kotlin/Native iOS framework
expect fun / class actual fun / class actual fun
/ class Common
expect fun randomUUID(): String import java.util.* actual fun randomUUID() =
UUID.randomUUID().toString() import platform.Foundation.NSUUID actual fun randomUUID(): String = NSUUID().UUIDString() Common
HOW Part 2
Hexagonal Architecture
None
Core: Biz logic, platform agnostic
Core: Biz logic, platform agnostic Platform: iOS/Android
Platform: iOS/Android Core: Biz logic, platform agnostic External / cloud:
Sensor, biz intelligence
Platform: iOS/Android Core: Biz logic, platform agnostic Adapters External /
cloud: Sensor, biz intelligence
2021 2023
2023
2023 Sony | Headphones Connect Sony | Sound Connect
Compose Multiplatform
UI UI Business/Domain Data/Core Presentation Presentation iOS Android KMP(shared) Kotlin
Multiplatform
iOS specific Android specific Business/Domain Data/Core iOS Android KMP(shared) Compose
Multiplatform UI Presentation
None
None
iOS Android
None
Maps
None
Results
55 55% % iOS iOS users P E R P
L AT FO R M
Code L A N G U AG E D I
ST. 80 20 Multiplatform Native
SHOULD YOU DO IT? Part 3
it depends...
Stick to iOS if... You want full iOS UX Target
market is iOS
Try KMP/CMP if... iOS Dev → Mobile Dev Expand to
other platforms A lot of common biz logic (>10%)
start
None
None
Kotlin/Swift Mapping Kotlin Swift Class Class Interface Protocol Constructor Initializer
Property Property Method Method null nil Kotlin Swift Unit Void String String List Array Set Set Map Dictionary Function type Function type
suspend vs async
None
iOS/Android dev Development Duplication Unification Mobile dev Users
TRY IT just
None