Google launches Dart as a JavaScript killer

Dart can be used for both small Web projects, as well as large ones, company engineers said

Google has launched a preview version of a new Web programming language, called Dart, which the company's engineers hope will address some of the shortcomings of the widely used JavaScript language.

Google's goals for Dart are to create "a structured yet flexible language for Web programming," wrote Lars Bak, who is a software engineer for Google's Dart team, in a blog post officially announcing the language Monday.

Although Bak did not mention JavaScript by name, Dart's capabilities resemble those of JavaScript, though they also address some of the scalability and organizational issues that have been associated with JavaScript. In leaked memos, Google engineers have expressed frustration over "fundamental flaws that cannot be fixed by merely evolving" JavaScript.

Designed for building Web applications, Dart is an object oriented language, one designed to be used for both quickly cobbling together small projects, as well as for developing larger-scale Web applications. Dart allows the programmer to add variables without defining their data type -- called dynamic typing -- or to define their data types, called static typing. Dynamic typing is best for small projects that need to be ramped up quickly, while static typing will help secure and speed large-scale Web programs.

The preview version includes a compiler and a virtual machine, along with a set of basic libraries. In order to get their Dart creations to run on browsers, programmers can compile them to JavaScript using a tool included in the Dart package. Eventually Google would like each browser to include a native Dart virtual machine, upon which Dart programs can run. Now, not even Google's own browser, Chrome, will support Dart. "We plan to explore this option," Bak wrote.

Google will have a lot of campaigning to do, if it indeed wants Dart to replace JavaScript across the Web. In its latest monthly estimate of programming language popularity, Tiobe Software ranked JavaScript as the 10th most widely used language overall.

First developed by Netscape in 1995, JavaScript was designed as a scripting language for adding programming functionality to Web browsers. The following year, Netscape submitted it to ECMA International as a standard, resulting in the standardized version called ECMAScript. Adobe also uses a version of ECMAScript, called ActionScript, for developers to write for Adobe's Flash player.

Dart is not Google's first foray into creating a new programming language to address the shortcomings of older ones. In 2009, the company debuted Go, which the company's engineers created as an alternative to the complexities of C++, Java and other traditional languages.

Bak plans to reveal more about Dart at the GoTo conference, being held this week in Aarhus, Denmark.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags Development toolsapplication developmentWeb services developmentLanguages and standardsGooglesoftware

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?