Feeds

Google shoots Dart at JavaScript

It's really not a JavaScript killer, insists author

Top 5 reasons to deploy VMware with Tegile

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. ®

Security for virtualized datacentres

More from The Register

next story
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
iOS 8 release: WebGL now runs everywhere. Hurrah for 3D graphics!
HTML 5's pretty neat ... when your browser supports it
Mathematica hits the Web
Wolfram embraces the cloud, promies private cloud cut of its number-cruncher
Mozilla shutters Labs, tells nobody it's been dead for five months
Staffer's blog reveals all as projects languish on GitHub
'People have forgotten just how late the first iPhone arrived ...'
Plus: 'Google's IDEALISM is an injudicious justification for inappropriate biz practices'
SUSE Linux owner Attachmate gobbled by Micro Focus for $2.3bn
Merger will lead to mainframe and COBOL powerhouse
iOS 8 Healthkit gets a bug SO Apple KILLS it. That's real healthcare!
Not fit for purpose on day of launch, says Cupertino
Netscape plugins about to stop working in Chrome for Mac
Google kills off 32-bit Chrome, only on Mac
prev story

Whitepapers

Secure remote control for conventional and virtual desktops
Balancing user privacy and privileged access, in accordance with compliance frameworks and legislation. Evaluating any potential remote control choice.
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Beginner's guide to SSL certificates
De-mystify the technology involved and give you the information you need to make the best decision when considering your online security options.