3 ms·
Dart is a solution for building and maintaining complex web apps. Googles JS web apps has 100's of engineers working on it spanning millions LOC. Google doesn't
by mythz 13y ago
Dart is a solution for building and maintaining complex web apps. Googles JS web apps has 100's of engineers working on it spanning millions LOC. Google doesn't think it's possible to develop at this scale with vanilla JS which is why they've invested a ton of effort in developing the Closure Compiler/Library and GWT (i.e. what their big JS Web Apps use). The problems with the previous strategies is that they add boilerplate, artefacts and complexity on top of JS that slows down their build times to the point where some devs have to wait 24mins to see a live/edit reload cycle. Dart was built from the ground-up to manage complexity and to provide a consistent development experience with the goal of providing the fastest edit/reload dev cycles possible. As it's also built with the input of the VM engineers who helped create StrongTalk, Hotspot JVM, V8 VMs they are able to add features that enable a high-performance VM implementation and enable features like 'Snapshots' to provide instant start up times.
Google will never drop support for their 2 crown jewels, Chrome or Android. When Dart gets into Chrome and some of their big internet properties start to depend on it, you can pretty much guarantee that they'll never drop support for it. One of the mandates Google has is to improve the web, make it faster and make it possible for everyone to build richer more interactive web experiences so more people use and spend more time on the Internet. More time on the Internet means more time on Google, so developing and investing in technologies like Dart indirectly benefits them. It's also why any investments on improving the Internet remain supported, free and Open Source e.g WebP/M, SPDY, Chromium/Blink, V8, Closure Library, GWT, mod_pagespeed, Polymer and now Dart.
People like to confuse Google's dropping of support for their products where everything they create is fair game and can be dropped at anytime, what's not looked at, is how the product to relates to their entire ecosystem, whether it adds value and is in a growing technology/market.