Dynamic Code with Zipline
summary
Zipline runs downloadable Kotlin/JS modules inside Android and iOS apps using a tiny QuickJS engine (~6.5k C lines, 1.2 MB compiled, ~450 KB gzipped) and a Kotlin compiler plugin that generates JSON-backed bridges for interfaces, coroutines and Flows. It compiles KotlinJS artifacts to QuickJS bytecode, ships a manifest with file hashes and signatures on a CDN, supports QuickJS, pass by reference callbacks and Kotlin Multiplatform hosting, and includes a profiler and runtime leak checks.
AI-written summary · about
chapters (11)
- 0:00Introduction to dynamic code
- 2:44Live code swap demo
- 5:16How Zipline works internally
- 10:32Zipline service APIs
- 15:07Suspending functions and callbacks
- 19:22Bootstrapping and packaging
- 24:19Multiplatform support
- 27:51Debugging and profiling
- 29:36Security and code signing
- 31:20Why Zipline is different
- 34:52Next steps and calls to action
related talks
47mPlaying in the Treehouse with Redwood and Zipline
47mPlaying in the Treehouse with Redwood and Zipline
42mA Journey in Shared Code with Kotlin Multiplatform
40mKMP with non-Kotlin languages
36mUsing Kotlin/JS and Kotlin/Native on Android
48mKotlin for Android, iOS & the mobile web
43mThe State of Kotlin JS
41mKotlin/JS, Today and Tomorrow
