Feeds

Google shoots Dart at JavaScript

It's really not a JavaScript killer, insists author

Business security measures using SSL

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

Choosing a cloud hosting partner with confidence

More from The Register

next story
'Windows 9' LEAK: Microsoft's playing catchup with Linux
Multiple desktops and live tiles in restored Start button star in new vids
Not appy with your Chromebook? Well now it can run Android apps
Google offers beta of tricky OS-inside-OS tech
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
Greater dev access to iOS 8 will put us AT RISK from HACKERS
Knocking holes in Apple's walled garden could backfire, says securo-chap
NHS grows a NoSQL backbone and rips out its Oracle Spine
Open source? In the government? Ha ha! What, wait ...?
Google extends app refund window to two hours
You now have 120 minutes to finish that game instead of 15
Intel: Hey, enterprises, drop everything and DO HADOOP
Big Data analytics projected to run on more servers than any other app
SUSE Linux owner Attachmate gobbled by Micro Focus for $2.3bn
Merger will lead to mainframe and COBOL powerhouse
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.
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?
Security and trust: The backbone of doing business over the internet
Explores the current state of website security and the contributions Symantec is making to help organizations protect critical data and build trust with customers.