~/talk

Machines and Code Analysis - What makes Dart and Flutter run

Talkat Fluttercon USA 2024 · 2024-09-19..09-20· [compilers-and-language-design]
links:none on file
slides:none on file

Explains how Dart moves from source to machine with concrete examples: JIT run compiles on demand, AOT snapshot and .exe produce platform‑specific binaries, and JIT snapshot uses training arguments to speed startup. Shows a function called 50,000 times to force optimization and reveals the optimized machine code is a single add of 4 because of Dart’s tagged integers. Demonstrates the analyzer package building a tree‑walking interpreter, compares dart_eval bytecode interpreter, and traces Flutter painting from RenderObject through FFI into C++ Skia/Impeller and Metal/OpenGL/Vulkan.

AI-written summary · about

  1. 0:00Compilers and Dart runtime
  2. 1:22How programs execute
  3. 3:33Interpretation vs compilation in Dart
  4. 6:25Dart compilation modes
  5. 9:59Compiler front/back end
  6. 11:24Tokenization and AST in Dart
  7. 15:37AST to machine code
  8. 19:56Bootstrapping and Dart VM
  9. 21:01Live Dart interpreter
  10. 25:43Interpreters in Flutter
  11. 26:24Dart VM debugging
  12. 28:10Flutter rendering pipeline
  13. 30:39Skia and Impeller engines
  14. 32:05Graphics APIs and acceleration
  15. 33:10Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.