📎 Webclip
How Google Uses Angular 2 with Dart
Google says it is using Angular 2 for Dart in new web apps, and that the Google Fiber team launched the first production Angular 2 app written in Dart. The post says other Google teams are also moving to Angular 2 for Dart, including Greentea and Google AdWords.
Reading notes#
- Google is building new web apps with Angular 2 for Dart.
- Google Fiber launched Google’s first production Angular 2 app written in Dart.
- Angular 2 for Dart is being adopted by other Google teams.
- Dart is described as an open-source development platform from Google for web and mobile development.
- The Dart language is described as concise, expressive, and familiar to developers from Java, C#, ActionScript, and JavaScript.
- The Dart platform includes an instant edit-debug cycle, core libraries, a package manager, a semantic analyzer, and IDE support through IntelliJ IDEA and WebStorm.
- Dart code compiled to JavaScript can run on modern browsers.
- Google says its work with the Angular team influenced Angular 2 features such as change detection and template compilation.
- These features made Angular 2 faster for both JS and Dart, with 3x faster startup and 2.5x faster rendering than Angular 1.
- Google says this speedup matters especially on the mobile web.
- The collaboration began with Google’s internal CRM application, Greentea.
- The Angular team built the initial version of Angular 1 for Dart as Greentea was built.
- The work improved Dart-to-JavaScript compilation, Dart-JavaScript interop, and IDE support.
- Google Fiber says it chose Angular 2 for Dart because its engineers were productive as projects scaled, and because of strong typing, object-oriented design, and IDE integration.
- Google says it is improving Angular 2 for Dart tooling, including Analyzer support for templates and smaller Dart2JS output.
- Google says “Hello, World” is down to 82KB gzipped.
- Angular 2 for Dart is available as a Developer Preview.
