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

Build a business case: developing custom apps

More from The Register

next story
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
Leaked Windows Phone 8.1 Update specs tease details of Nokia's next mobes
New screen sizes, dual SIMs, voice over LTE, and more
PEAK LANDFILL: Why tablet gloom is good news for Windows users
Sinofsky's hybrid strategy looks dafter than ever
Fiendishly complex password app extension ships for iOS 8
Just slip it in, won't hurt a bit, 1Password makers urge devs
Mozilla keeps its Beard, hopes anti-gay marriage troubles are now over
Plenty on new CEO's todo list – starting with Firefox's slipping grasp
Apple: We'll unleash OS X Yosemite beta on the MASSES on 24 July
Starting today, regular fanbois will be guinea pigs, it tells Reg
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Maximize storage efficiency across the enterprise
The HP StoreOnce backup solution offers highly flexible, centrally managed, and highly efficient data protection for any enterprise.