Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Webmaster > Google News

October 10th, 2011, 08:27 GMT · By

Dart, Google's Ambitious Plan to Replace JavaScript, Has Been Released Publicly

SHARE:

Adjust text size:


Google's JavaScript replacement Dart is here
Enlarge picture
Dart, Google's programming language designed to replace JavaScript, is making its debut with the introduction of an "early preview" of the language.

Google has high hopes for Dart, but since this is the first public release of anything related to the actual code it remains to be seen whether it achieves what Google set out to do.

Perhaps more importantly, it also remains to be seen whether the community will adopt it and start using it in any meaningful numbers.

"Today we are introducing an early preview of Dart, a class-based optionally typed programming language for building web applications," Lars Bak, a software engineer on the Dart Team, announced.

Google still has some work to do on Dart, it's been working on it for quite some time too, it was initially called Dash. But it is comfortable enough with what it's got ready to release it to the public.

Dart was created to replace JavaScript as the de facto programming language of the web, in particular for web applications.

Google believed that some of JavaScript's limitations were impossible to overcome by evolving the language, so it created its own.

It's not the first time Google, which has some of the world's best software engineers but also a very company-centric vision many times, has went at it alone and created new technologies, in the dark, to replace standard ones.

Native Client, another, as-yet-unproven, web technology from Google, is a perfect example of that.

Google had several high goals with Dart:

- Create a structured yet flexible language for web programming;
- Make Dart feel familiar and natural to programmers and thus easy to learn;
- Ensure that Dart delivers high performance on all modern web browsers and environments ranging from small handheld devices to server-side execution.

"Dart targets a wide range of development scenarios: from a one-person project without much structure to a large-scale project needing formal types in the code to state programmer intent. To support this wide range of projects, Dart has optional types," Google explained.

Dart code can be run in two ways, either through a virtual machine, which runs on top of a JavaScript engine, or by compiling the code as JavaScript which is then run natively.

Google is working on building a Dart virtual machine into Chrome. Convincing any of the other browser makers to do the same may prove harder.

This is why the option of converting Dart code into JavaScript is important, but it remains to be seen how much of a performance hit this will mean. Of course, the virtual machine presumably adds a lot of overhead of itself.
FILED UNDER:
Google
Dart
JavaScript
NaCl

TELL US WHAT YOU THINK:

1,554 hits · 2 comments · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


Native Client Makes Its Debut in Google Chrome 14 Beta

A Redesign, More Localized Content Coming to the Google Chrome Web Store

Native Client Apps Will Land in the Chrome Web Store Soon

Google's JavaScript Replacement, Dart, Developed in the Dark

Google Chrome 16 Introduces a New Bubble View UI for Errors

READER COMMENTS:


Comment #1 by: Eric on 10 Oct 2011, 19:31 UTC reply to this comment

Right, because I don't have enough to do already just writing javascript that's cross-browser compatible...it would be somewhere around 2250 when IE decided to implement this, if ever, so I figure this is a waste of time.

A new javascript alternative is going to be an impossibly tough sell if all the browser makers don't get on board, at least to everyone working on websites of any sort of scale. I don't care if Javascript doesn't do everything Google wants, at least it works across all browsers...

Good luck Google, but every web dev just groaned a little.


Comment #2 by: Dave on 24 Oct 2011, 12:24 UTC reply to this comment

Great! Now google wants to snoop in on our client side scripting for their target advertising.

Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM