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
ソニー株式会社
September 19, 2025
1.3k
1
Share
iOSDC2025_ソニーのKMP/CMP挑戦記
ソニー株式会社
September 19, 2025
More Decks by ソニー株式会社
See All by ソニー株式会社
ソニー Creators' Cloudチームのハッカソン~生成AIで加速するイノベーション~
sony
0
120
Connpass-Xperia_Camera_App_by_HCD.pdf
sony
0
570
GitHub を組織的に使いこなすために ソニーが実践した全社展開のプラクティス
sony
27
19k
マイクロリブート ~ACEマインドセットで実現するアジャイル~
sony
1
760
ソニーの遊びのUXデザイン_アクセスコントローラー
sony
0
80
ソニーの遊びのUXデザイン_aiboとオーナーのインタラクション
sony
0
230
ソニーの遊びのUXデザイン_ソニーのUXデザインについて
sony
0
130
東京大学「Agile-X」のFPGA AIデザインハッカソンを制したソニーのAI最適化
sony
0
440
三菱電機・ソニーグループ共同の「Agile Japan企業内サテライト」_2025
sony
1
1.3k
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
How to Talk to Developers About Accessibility
jct
2
170
So, you think you're a good person
axbom
PRO
2
2k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
140
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
160
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
210
Designing for Performance
lara
611
70k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
160
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