Feeds

Google shoots Dart at JavaScript

It's really not a JavaScript killer, insists author

Boost IT visibility and business value

Google has previewed what could be a JavaScript killer while denying the new language is designed to rid the internet of JavaScript.

Two of the Google engineers behind Dart unveiled the search giant's new language at the opening of the Goto Conference in Denmark on Monday.

Dart has been built by Google's language experts to overcome what the company feels are "fundamental flaws" in JavaScript. According to a purportedly leaked Google email, the company hopes Dart will one day become the lingua franca of web development.

Google believes JavaScript is problematic for the job of building the sorts of complex web apps that the Chocolate Factory likes.

The problem is the lack of tools and people relying on a variety of libraries.

At least one of the people mentioned by name in that email, though, has distanced himself from the communication. Chrome Frame developer Alex Russell called it a draft that "doesn't reflect either the reality of what has happened in the meantime or even the decisions that were taken as a result".

Dart team software engineer Lars Bak on Monday kept up the JavaScript-friendly line.

"The competition is not JavaScript ... We're up against the fragmented mobile platforms," Bak is reported to have said on a live blog of the presentation here.

The Dart syntax is a mix of JavaScript and Scala, and can be compiled to JavaScript or run on a virtual machine, which can provide instant startup of a web app.

"You can write a web application in Dart and have it compiled and run on any modern browser. The Dart VM is not currently integrated in Chrome but we plan to explore this option," Bak said.

Dart is still not as fast as optimised JavaScript on the V8 engine used in Google's Chrome browser, Bak said on Monday morning. Dart runs in a single thread and is class-based.

Bak is reported to have listed "the bad parts of the web" Dart hopes to target: the development of large-scale applications, lack of static types, no support for libraries, weak tools' support, and poor startup performance.

You can read more here and here. ®

Application security programs and practises

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
Big Blue Apple: IBM to sell iPads, iPhones to enterprises
iOS/2 gear loaded with apps for big biz ... uh oh BlackBerry
prev story

Whitepapers

Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.