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 Good Gear Guide 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

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.

Armand Abogado

HP OfficeJet 250 Mobile Printer

Wireless printing from my iPhone was also a handy feature, the whole experience was quick and seamless with no setup requirements - accessed through the default iOS printing menu options.

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?