Feeds

Google's JavaScript challenger gains better tools, performance

Dart enters beta with beefed up editor, compiler

Providing a secure and efficient Helpdesk

Hot on the heels of Microsoft's latest TypeScript release, Google has shipped the first beta SDK for Dart, its own JavaScript killer alternative web language, including bug fixes, performance enhancements, and an improved editor.

Like TypeScript, Dart is a language aimed at making it easier to develop large, complex web applications that are efficient, secure, and maintainable. It compiles into JavaScript, so it can run in any modern web browser, but its syntax is designed to ameliorate some of JavaScript's more glaring flaws.

With the beta release, the Dart compiler produces JavaScript code that is up to 3.7 times smaller than that produced by earlier versions, according to a blog post announcing the update. The compiler also runs between 8 and 20 per cent faster when tested against benchmark code.

Performance of the Dart VM – a standalone virtual machine that can execute Dart code natively - without compiling it into JavaScript – has also been improved. The new version includes full SIMD acceleration, and can execute benchmark code as much as 40 per cent faster than previous releases.

Some of the biggest improvements in the beta, however, are to the Dart Editor. The new version features a rewritten code analysis engine that can parse code and locate potential problems 20 per cent faster than before.

The beta editor includes a number of new code refactoring options and new "quick fixes" for automatically resolving code issues. It also features new code completion options, such as the ability to detect "camel case" – so you can type "gN" and the editor will guess that you want a method called "getNext," for example.

In addition, a new "pub deploy" command pulls together all of an application's code and assets and packages them into a directory for easy deployment to a web server.

The Dart team has made a number of other tweaks and enhancements to the language's libraries and tools, too – for a complete list, check out the formal release notes here.

This first beta brings the Dart language that much closer to a formal release, but as for when we can expect Dart 1.0, there's still no word. Google has hinted a few times that it plans to finalize the first release sometime around this summer, but as with so many projects from the Chocolate Factory, it hasn't firmly committed to any timeline.

Dart is open source software released under the BSD License. The beta Dart SDK, tools, documentation, and code samples can all be found at the project's homepage. ®

Internet Security Threat Report 2014

More from The Register

next story
Google+ goes TITSUP. But WHO knew? How long? Anyone ... Hello ...
Wobbly Gmail, Contacts, Calendar on the other hand ...
UNIX greybeards threaten Debian fork over systemd plan
'Veteran Unix Admins' fear desktop emphasis is betraying open source
Preview redux: Microsoft ships new Windows 10 build with 7,000 changes
Latest bleeding-edge bits borrow Action Center from Windows Phone
Microsoft promises Windows 10 will mean two-factor auth for all
Sneak peek at security features Redmond's baking into new OS
Netscape Navigator - the browser that started it all - turns 20
It was 20 years ago today, Marc Andreeesen taught the band to play
DEATH by PowerPoint: Microsoft warns of 0-day attack hidden in slides
Might put out patch in update, might chuck it out sooner
Redmond top man Satya Nadella: 'Microsoft LOVES Linux'
Open-source 'love' fairly runneth over at cloud event
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
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.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.