-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

DART Essentials
By :

There are five main environments where you can run Dart:
dart2js
, which takes your Dart code and compiles it into vanilla JavaScript. Right now, this is the most typical use case in a production environment.dart2js
compiler itself is written in Dart.Dart VM is able to run your Dart code significantly more effectively than JavaScript V8. You can see current benchmarks at www.dartlang.org/performance/. Note that the dart2js
compiler is doing pretty good even though the compilation process brings some additional overhead.
After the first public release of Dart, Google claimed they were planning to implement Dart VM right into Chrome as an alternative to JavaScript. However, on March 25, 2015, the Dart team released a blog post stating that after collecting reactions from their internal teams, they've decided to stop efforts to integrate Dart VM with Chrome and rather focus on improving integration with JavaScript.
Change the font size
Change margin width
Change background colour