Will Google's Dart be the new language of Web apps?

Google has unveiled a preview of what it hopes will be an all-purpose programming language for Web development, although it is already meeting some resistance from developers.

The new language, Dart, is a “class-based optionally typed programming language for building Web applications,” writes Lars Bak, an engineer working on Dart, on the company’s blog.

Bak says the open-source language is intended to work with everything from one-person to large-scale projects. The code can be executed either by using a native virtual machine or a JavaScript engine that translates Dart code into JavaScript.

The language and preliminary tools for Dart are available at Dartlang.org.

One reason Google has two ways to execute Dart code is that the first method, using a virtual machine native to the browser, would require other browser-makers to support it, which seems unlikely, Scott Gilbertson writes at Wired’s Webmonkey.

Gilbertson also reports that Dart isn’t getting a warm reception in some quarters, citing a negative-leaning discussion thread at Hacker News and some widespread developer resistance to the idea that Google is aiming for Dart to replace JavaScript in Web applications.

Although Google says Dart and JavaScript will complement each other, a 2010 company memo leaked in September criticized JavaScript for “fundamental flaws,” saying the Web has outgrown it and stating a goal “ultimately to replace JavaScript as the lingua franca of Web development on the open Web platform.”

Developer resistance to Dart, coupled with other browser-makers’ competitive inclination not to go along, could mean Google is facing an uphill battle.

And what would Dart mean to HTML 5? A Dart application executing in a native mode would, like HTML 5, allow complex applications to run without plug-ins. So, for example, you wouldn’t need Adobe Flash to view a complicated, interactive graphic because everything happens within the browser.

That’s one of the things HTML 5, which has long been in development, is intended to accomplish. But HTML 5 relies on JavaScript, which Google’s memo says is part of the problem.

But for all the resistance to the notion of Dart replacing JavaScript, Colin Eberhardt at Scott Logic thinks replacing JavaScript with Dart could be a good thing, making HTML 5 apps more viable.

About the Author

Kevin McCaney is a former editor of Defense Systems and GCN.

inside gcn

  • artificial intelligence (ktsdesign/Shutterstock.com)

    Machine learning with limited data

Reader Comments

Tue, Oct 11, 2011 vplusplus NY

What browsers need is a language augnostic runtime like :-) .Net runtime, of course, powered by open standards, primed by organizations like W3C (I meant W3C on steroids, I dont have another 100 years to wait). If MSFT can do that under 4Mb including support for Dynamic language runtime, (including XAML processing), so can all. HTML(5) + CSS + industry standard language augnostic runtime + choice of static/dynamic languages... How about the language itself? Can be java, javascript, pythan, C#, VB, ruby, or any new language someone might dream about... Dont want another just-language from google... Will that happen in my lifetime? I doubt... Let me move on to "one more javascript trick" blog posts...

Tue, Oct 11, 2011 Max Roald Eckardt Germany

It's the wrong approach. Produce better synergies between people, tools and language in that order. There are many ways to produce applications already, while the advantages of dart are far from being game changers, javascript has got huge inertia in the developing community...

Please post your comments here. Comments are moderated, so they may not appear immediately after submitting. We will not post comments that we consider abusive or off-topic.

Please type the letters/numbers you see above

More from 1105 Public Sector Media Group