The Power of the New Macros in Dart
summary
An overview of Dart's new macros for code generation, explaining how macros can inspect and manipulate language structure to build custom developer tools. Compares macros with other code-generation techniques and outlines best practices for using Dart macros in projects.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:56Macro motivation
- 8:00Current code generation
- 15:02What are macros?
- 21:59Macro execution phases
- 22:22Demo with build runner
- 28:09Demo with Dart macros
- 35:57Summary and next steps
- 38:48Q&A
related talks
32mThe power of Macros in Dart
01h 03mModern Macros
34mMachines and Code Analysis - What makes Dart and Flutter run
48mMetaprogramming in Dotty
41mMacros Six Months Later: Not Everything Is Smooth
35mMachines and Code Analysis - What makes Dart and Flutter run
45mDeveloping Macros in Rust
42mThe Macronomicon
