Contents

dartdevc: the Dart dev compiler

Contents

The Dart development compiler (dartdevc, also known as DDC) lets you run and debug your Dart web app in the Chrome browser.

Unlike dart2js, dartdevc supports incremental compilation and emits modular JavaScript. With a tool like webdev serve that uses dartdevc, you can edit your Dart files, refresh in Chrome, and see your edits almost immediately. This speed is possible because dartdevc compiles only updated modules, not all the packages that your app depends on.

The first compilation with dartdevc takes the longest, because the entire app must be compiled. After that, as long as the serve command keeps running, refresh times with dartdevc are much faster than with dart2js.

More information