Architecting a Kotlin JVM and JS Multiplatform Project
summary
Implements a working NES emulator in a Kotlin multiplatform repo that runs on JVM/Android now and targets iOS and the web next, using expect/actual and typealias for platform abstractions, Kotlin/Native (LLVM) for native targets, and Gradle multiplatform plugins. About 70–80% shared code lives in a common module; audio/video buffers stay platform-specific. Performance tuning replaces Android Bitmap JNI calls with an int array buffer so the emulator already plays a few games, and coroutines handle cross-platform concurrency.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 2:03Overview
- 11:35Multiplatform
- 16:54Example
- 19:42Emulator Architecture
- 25:31Conclusion
- 30:11Questions
related talks
34mKotlin Multiplatform: code sharing without compromise
01h 07mDevelop Multiplatform Projects in Kotlin
39mAn Overview of Multiplatform Kotlin
35mIntro to Kotlin Multiplatform
48mEffective Multiplatform Kotlin Development
42mEmbracing the Future in a Multiplatform World: A Kotlin Story
48mKotlin for Android, iOS & the mobile web
36mExploring Kotlin Multiplatform
