Follow Us

Google launches Dart web programming language

Online application builder to rival JavaScript

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.

Although Bak did not mention JavaScript by name, Dart's capabilities resemble those of JavaScript, though they also address some of the scalability and organisational 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 standardised 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.




Comments



Send to a friend

Email this article to a friend or colleague:

PLEASE NOTE: Your name is used only to let the recipient know who sent the story, and in case of transmission error. Both your name and the recipient's name and address will not be used for any other purpose.

Techworld White Papers

Choose – and Choose Wisely – the Right MSP for Your SMB

End users need a technology partner that provides transparency, enables productivity, delivers...

Download Whitepaper

10 Effective Habits of Indispensable IT Departments

It’s no secret that responsibilities are growing while budgets continue to shrink. Download this...

Download Whitepaper

Optimise Performance For Global eCommerce

Global is all the rage: eBusiness teams are feverishly building new international initiatives in...

Download Whitepaper

Gartner Magic Quadrant for Enterprise Information Archiving

Enterprise information archiving is contributing to organisational needs for e-discovery and...

Download Whitepaper

Techworld UK - Technology - Business

Part 2 of your journey to virtualisation

You can still access part 2 of our virtualisation journey - explore how you can improve your servers, storage and networks by developing your infrastructure.

Watch now...
Techworld Mobile Site

Access Techworld's content on the move

Get the latest news, product reviews and downloads on your mobile device with Techworld's mobile site.

Find out more...

From Wow to How : Making mobile and cloud work for you

On demand Biztech Briefing - Learn how to effectively deliver mobile work styles and cloud services together.

Watch now...

Site Map

* *