Dart Beyond Flutter: Journeys in Embedding Dart
summary
Explains how to build an embeddable Dart VM by patching the SDK into a libdart static library and using the GitHub project Dart shared library to run scripts, initialize isolates, and call Dart_DL_initialize/Dart_DL_load_script. Shows a working game engine using cute framework with Dart logic, FFI for create_entity/get_drawable, hot reload on save, async via drain_microtasks, and finalizers/message callbacks to ensure garbage collection. Also demos a prototype GDO Dart integration with codegen and isolate-moving for multi-threaded editor use.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 5:18Dart embedding overview
- 10:56Initializing Dart VM
- 14:24C++ integration demos
- 15:09Game loop execution
- 18:19Hot reload in embed
- 19:22Async in embedded Dart
- 21:06Memory management
- 25:39Ensuring finalizers are called properly
- 26:43GC hints with notify idle
- 28:27Dart in Godot engine
- 33:27Disadvantages of Dart embedding
- 35:13Q&A
related talks
01h 15mUnleashing Flutter on embedded hardware
01h 02mUpdate on Flutter in AGL and IVI Expert Group
24mA Beginner's Guide to High-Performance Integration
25mMicrocontrollers with Gleam
13mRevolutionizing Smart Device Interfaces with Flutter: Any Screen, Any...
30mBinding Native Plugins with Flutter and Dart
48mInternet of Programmable Things
38mGames and 3D Graphics in Arcadia
