3 ms·
> developers don’t need to use toolchains Sorry I don't get this. If Dart is delivered to the browser in source form, you'll still want script compressors and/
by dmethvin 15y ago
> developers don’t need to use toolchains
Sorry I don't get this. If Dart is delivered to the browser in source form, you'll still want script compressors and/or tools like Closure Compiler to eliminate unused code. Even if Dart is delivered to the browser in bytecode format you'll need a toolchain on the backend--and you'll still need symbol tables for client debugging.
If anything, the toolchain and project setup will be more complex for Dart developers if they want to support all browsers. They'll need to create one set of files for Chrome with native Dart and cross-compile to JavaScript for all other browsers. Then they'll need to conditionally include one set of script files or the other.