Building Flitz: How We Modified the Flutter Engine So...
summary
Flitz modifies the Flutter embedder and Dart VM to load separately compiled Dart bytecode bundles at runtime, using Dart dynamic modules and an interpreter so new UI and assets run on existing installed apps without reinstalling. It disables closed‑world optimizations for correctness, adds bundle metadata checks to ensure host/bundle compatibility, and pushes bundles to a secure cloud that returns a QR. Result: real native-capable previews on physical devices in about one to two minutes that bypass full CI builds.
AI-written summary · about
chapters (13)
- 0:00Introduction and problem
- 4:40Live demo of Flitz
- 8:36How Flutter apps normally work
- 12:52Flitz core idea
- 15:46Splitting Flutter app builds
- 17:33Dart VM and bytecode
- 21:13Modifying Flutter embedder
- 23:02Breaking closed world assumption
- 25:56Host-bundle contract
- 28:47Tooling and sharing bundles
- 32:04How Flitz works end-to-end
- 33:07Who Flitz is for
- 36:44Future and call to action
