Sharing [Kotlin code across platforms] is Caring!
summary
Kotlin replaces a TypeScript/C++ pipeline to share a core prediction algorithm across Android, iOS and backend by compiling to real JavaScript and JVM bytecode, shipping a Kotlin-based library that eliminates the invisible webview and runs on JVM/JS/iOS. Tests run across legacy and new builds and production shows 10x–1000x faster performance and far lower startup time. Workarounds include manual name annotations, synthetic package proxies, custom small JSON wrappers and a generator for TypeScript defs; the approach compiles, ships and scales.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:32Introduction
- 1:57Sharing Code
- 2:37Code Is Business Logic
- 4:14Java to Objective-C
- 6:41Javascript Core
- 7:10Android
- 11:30Native Libraries
- 12:56Multi-Platform How Does It Work
- 18:26Performance Improvement
- 24:00Typescript Definitions
related talks
34mCode Sharing is caring - Cross-Plattform Development
34mKotlin Multiplatform: code sharing without compromise
42mA Journey in Shared Code with Kotlin Multiplatform
17mKotlin Multiplatform – Sharing is caring!
39mAnd That, Folks, is How We Shared Code Between Android, iOS and the Backend
43mSharing Is Caring - Kotlin Multiplatform for Android Developers
44mShipping a Mobile Multiplatform Project on iOS & Android
46mKotlin/Anywhere
