Get the latest tech news

Dart Macros and Focus


Reacting to Google's decision to cancel Dart's "macros" feature

Macros was planned as a new language feature to make it easier for Flutter and Dart developers to express ideas requiring repetitive code (for example data serialization) from simple syntax. Dart took a particularly ambitious flavor that ultimately proved unwieldy to implement to the Google team’s satisfaction. They’ve realized they can’t make macros pass their performance goals (without other even larger changes to the ecosystem or language).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of focus

focus

Photo of Dart macros

Dart macros

Related news:

News photo

An update on Dart macros and data serialization

News photo

Samsung TVs at CES 2025 focus on no glare, AI, and better performance

News photo

Google intros Gemini 2.0 with a focus on AI agents