Building a rendering engine in Rust for Flutter
summary
A single Rust rendering engine embeds into Flutter on Android, iOS and web, providing a native GL surface hosted via PlatformView and controlled from Dart with MethodChannel and JNI/static linking as appropriate. Rendering code uses Notan with egui to draw frames at 60 fps (with 24–30 fps as fallbacks), rust functions exported with no_mangle, and bidirectional streaming via flutter_rust_bridge; demo shows an interactive DVD‑screensaver example and full build scripts in the repo.
AI-written summary · about
chapters (10)
- 0:00Invido and Rust rendering
- 3:53Why Rust for rendering
- 7:22Platform views in Flutter
- 10:11OpenGL context access
- 11:58Rendering loop explained
- 15:10Rust in engine architecture
- 20:45Flutter-Rust communication
- 25:46Flutter Rust Bridge
- 27:52Demo of Rust engine
- 31:01Q&A
related talks
28mUsing Rust in your next Flutter SDK
46mFlutter: 60 Frames of AOT Badassery
49mFirst Flutter, then Fly: Build Reactive & Performant Cross-Platform Apps
28mHow Flutter works under the hood
46mThe Many Faces of Flutter
41mFlutter under the hood. What makes Flutter tick
44mFlutter for the Discerning Android Developer
42mFlutter for Android Developers
