Google launches Dart as a JavaScript killer
- 11 October, 2011 01:50
- Comments
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 CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.
- Bookmark this page
- Share this article
- Got more on this story? Email CIO
- Follow CIO on twitter
- Dart: a language for structured web programming - The official Google Code blog
- Google Dart aims to supplant 'fundamentally flawed' JavaScript : Web development - InfoWorld
- The great JavaScript debate: Improve it or kill it? : Application Development - InfoWorld
- Dart : Structured web programming
- TIOBE Software: The Coding Standards Company
- Google executive frustrated by Java, C++ complexity : Developer World - InfoWorld
- Speakers -> Opening Keynote: Dart, a new programming language for structured web programming
- @Joab_Jackson
- Joab_Jackson@idg.com
- NetScaler 2048-bit SSL performance advantage
- Transforming Your Business by Transforming Your Processes
- Data Center Physical Infrastructure: Optimising Business Value
- Virtualisation and Cloud Computing: Optimised Power, Cooling, and Management Maximises Benefits
- IDC MarketScape: Worldwide Business Process Platforms 2011 Vendor Analysis
-
Apple aims iPads at High Schools
-
Face Time - Interview with John Brennan and Robert DiStefano
-
Google Jumps Into Social Bookmarks Game
-
NBN build gaining momentum daily: Quigley
-
Face Time - Interview with John Brennan and Robert DiStefano
-
Best Practices for Oracle License Management: Optimise Usage and Minimise Audit Liability
With Oracle audits on the rise, organisations that can best align license agreements with actual database and option usage can reduce their financial risk and maximise the value of their Oracle investments. The goal is to “right-size” Oracle across the enterprise and gain control over the entire license management process – from accurate needs projections and licensing negotiations, to deployments and audit preparation. Read on. -
Traditional Backup is Dead - Are you prepared?
Conventional backup and recovery approaches clearly can't keep up with ever-growing storage rates. It's time to take on a new strategy. -
Why Hackers have Turned to Malicious JavaScript Attacks
Website attacks have become a serious business proposition. In the past, hackers may have infected websites to gain notoriety or just to prove they could—but today, it’s all about the money. Reaching unsuspecting users through the web is easy and effective. Hackers now use sophisticated techniques—like injecting inline JavaScript—to spread malware through the web. Learn about the threat of malicious JavaScript attacks, and how they work. Understand how cybercriminals make money with these types of attacks and why IT managers should be vigilant.
-
Office 2007 All-In-One Desk Reference for Dummies
-
Office 2007 for Dummies
-
Windows 7 for Dummies®
-
Excel 2007 All-In-One Desk Reference for Dummies
-
MYOB Software for Dummies 6E Australian Edition
-
Teach Yourself Visually Windows 7
-
Windows 7 for Dummies® Dvd+book Bundle
-
Computers for Seniors for Dummies, 2nd Edition
-
Windows 7 for Seniors for Dummies®








Comments
Post new comment