Dart Changes Course - No Longer To Be Native In Chrome
Written by Ian Elliot   
Thursday, 26 March 2015

Google has backtracked on its intention to integrate the Dart VM into Chrome and instead the Dart team will concentrate its efforts on compiling Dart to JavaScript. Is this a downgrade of Google's plans for Dart or a new realism?

googledart

Introduced by Google in 2011 as a JavaScript replacement language, Dart quickly established itself by being adopted as an ECMA standard in 2013 and by becoming one of the top twenty languages on the TIOBE index in 2014.

In order to be an alternative to JavaScript on Chrome, the idea was to put the Dart VM into Chrome, when the time was right. Initially to use Dart you had to either compile it to JavaScript or use it in an environment where a Dart VM was available - either on the server's side or in a special browser like Dartium which is Chromium plus the Dart VM.

This situation was always thought of as temporary and the long term goal was to see the Dart VM incorporated into all browsers, with Chrome leading the way. In this way JavaScript would be slowly phased out.

The news of a change of a plan for the Dart VM was announced by Dart co-founders Lars Bak and Kasper Lund who presented it as a positive move for Dart developers:

In order to do what's best for our users and the web, and not just Google Chrome, we will focus our web efforts on compiling Dart to JavaScript. We have decided not to integrate the Dart VM into Chrome. Our new web strategy puts us on a path to deliver the features our users need to be more productive building web apps with Dart. It also simplifies the testing and deployment scenarios for our developers, because they can focus on a single way to build, test, and deploy their Dart apps for the web.

If the Dart VM for Chrome plan had gone ahead it would have represented another split in the browser universe but of course this was the purpose behind doing it. At the moment no website serves Dart up to the browser and as such end users aren't even aware of its existence. If Chrome had a Dart VM then this would change and some website would effectively say - view me in Chrome or not at all. If there were enough such sites then the other browsers would be forced to consider adding a Dart VM. 

Of course the initial split would be painful and because of this there seems to have been a largely positive reaction to the news that it isn't going to happen.

The announcement does give reassurance that this does not mean the end for the Dart and points to the fact that Google Ads is one of Dart's biggest customers. It quotes Scott Silver, Google's VP of Engineering for Ads, saying:

“We are committed to building our next-generation web apps with Dart, and a renewed focus on generating optimal JavaScript helps us deliver great apps to everyone with a modern browser. Dart has significantly improved our engineers' productivity and our ability to quickly launch and iterate. We currently have one million lines of Dart code and the number is growing fast.”

It also points to other in-house teams that use Dart, such as Google Fiber, Google Express, and Google's internal sales team.

However, the fact that the announcement needs to stress these commitments to Dart simply emphasizes the fact that it is a downgrading of Google's hopes for the language. It may be true that Dart isn't dead, but without the Chrome VM it is just another of the many languages that compile to JavaScript and not a replacement for it.

In view of the recent news that Google's Angular team has partnered with TypeScript that included an intention to mode TypeScript and JavaScript closer together, does this latest move indicate that Google wants a bigger share of JavaScript's future? 

At the moment the conclusion has to be that no matter how good a language Dart is, it is no JavaScript killer. 

dartlogo

More Information

Dart for the Entire Web

Dart

 

Related Articles

The Astonishing Rise Of Dart

Ecma Approves Dart

Dart 1.8 Adds Support for App Engine and enums

Dart + Chromium = Dartium

Angular Partners With TypeScript

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, FacebookGoogle+ or Linkedin,  or sign up for our weekly newsletter.

Banner


JetBrains AI Assistant - A Welcome Time Saver
28/02/2024

JetBrains AI Assistant saves developers up to eight hours per week and they appreciate its help.  77% of users feel more productive, 75% express that they are happier with their IDE experien [ ... ]



TypeScript 5.4 Adds NoInfer Type
12/03/2024

TypeScript 5.4 has been released, with the addition of a NoInfer utility type alongside preserved narrowing in closures following last assignments. 


More News

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Thursday, 26 March 2015 )