Feeds

Google's JavaScript-slaying-improving Dart lets fly with version 1.0

Alternative web language delivers first production release

Boost IT visibility and business value

Google has reached a significant milestone in the development of Dart, its JavaScript replacement language, with the release of the first production-ready version.

Dart is designed to make it easier to develop complex web applications by avoiding some of the language shortcomings that make large JavaScript applications difficult to write and maintain. Version 1.0 was announced on Thursday at the Devoxx conference, taking place in Antwerp, Belgium this week.

According to a blog post by "chief Dartisan" Lars Bak, the new version is ready to be used as a JavaScript alternative in production web applications, and companies including Adobe, drone.io, and JetBrains are already working to integrate the language into their own web development tools.

The 1.0 release comes roughly one year after the Dart team shipped its first milestone release last October. Internally, that build was known as version 0.1, and the language has undergone multiple, significant changes since then. Bak says the current version is stable and that any changes to core technologies in future Dart versions will be backward compatible "for the foreseeable future."

One of the key components of the Dart SDK is dart2js, a tool Google describes as a "translator" (some might call it a compiler) that converts Dart source code into JavaScript for production deployment. Bak says the performance of the code output by dart2js 1.0 has improved significantly since previous releases, and in many cases, translated Dart now runs faster than the equivalent hand-coded JavaScript.

Google has also built a virtual machine (VM) that runs Dart code natively, and its performance has similarly been beefed up in version 1.0, to where benchmarks written in Dart run as much as 130 per cent faster in the Dart VM than the equivalent benchmarks do when running in Google's own V8 JavaScript engine.

Dart VM still isn't built into the mainstream Chrome browser, however, and there are no signs yet that it will be soon. But the Dart SDK does include a custom Chrome build called Dartium that integrates Dart VM for use as a rapid testing and debugging tool, and Dart VM can also be run in standalone mode to execute code on a server, much like Node.js.

Rounding out the Dart toolset is the Dart Editor, a light, language-specific IDE that includes such features as code completion, refactoring, a debugger, and code hints and warnings.

Mind you, Google's Dart team aren't the only ones looking to address JavaScript's deficiencies. Perhaps most notably, Microsoft has been working on TypeScript, its own JavaScript alternative that's more a superset of the language than an outright replacement.

Microsoft and others have criticized Google for attempting to fragment the web development community by introducing a new client-side language that competes with JavaScript, rather than improving it. But Bak insists that Dart is not about killing off JavaScript; rather, it's merely an attempt to innovate web browsers, particularly for applications running on mobile browsers.

"I have no problems with JavaScript," Bak told The Reg earlier this year.

As Dart development continues, Bak says, the focus will be on polishing Dartium and improving the performance and stability of the Dart language and its related package libraries.

The Dart SDK 1.0 is available for download immediately from the Dart community website, along with documentation, tutorials, and related tools. ®

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
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
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
Cloudy CoreOS Linux distro declares itself production-ready
Lightweight, container-happy Linux gets first Stable release
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.