Feeds

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

Alternative web language delivers first production release

SANS - Survey on application security programs

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

3 Big data security analytics techniques

More from The Register

next story
OpenBSD founder wants to bin buggy OpenSSL library, launches fork
One Heartbleed vuln was too many for Theo de Raadt
Got Windows 8.1 Update yet? Get ready for YET ANOTHER ONE – rumor
Leaker claims big release due this fall as Microsoft herds us into the CLOUD
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Ubuntu 14.04 LTS: Great changes, but sssh don't mention the...
Why HELLO Amazon! You weren't here last time
Patch iOS, OS X now: PDFs, JPEGs, URLs, web pages can pwn your kit
Plus: iThings and desktops at risk of NEW SSL attack flaw
Next Windows obsolescence panic is 450 days from … NOW!
The clock is ticking louder for Windows Server 2003 R2 users
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
Apple inaugurates free OS X beta program for world+dog
Prerelease software now open to anyone, not just developers – as long as you keep quiet
prev story

Whitepapers

Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Mainstay ROI - Does application security pay?
In this whitepaper learn how you and your enterprise might benefit from better software security.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.