First Release of Dart SDK
First Release of Dart SDK
Written by Ian Elliot   
Wednesday, 17 October 2012

It's a year since Google released a technology preview of Dart, its JavaScript replacement. Now, to coincide with Dart's first birthday, comes the M1 release of the SDK.

If you've not come across Dart before, it's an open source project that includes a class-based, object-oriented language, libraries and tools for building complex web applications and represents Google's attempt to overcome perceived shortcomings in JavaScript.

You can compile it to JavaScript so that it runs in any browser or you can run it with its own virtual machine (VM) that is only currently supported by Chromium.

According to its overview:

Dart addresses issues with traditional web development languages while remaining easy to learn. Thanks to optional static types, Dart scales from simple scripts to large apps.

The highlights of the new release of the Dart SDK include:

  • A faster Dart Virtual Machine that claims to outperform V8 on some Octane tests.
  • A new Dart to JavaScript translator that generates fast and compact output.
  • An HTML library that works transparently on modern browsers.
  •  A library to interoperate with JavaScript code.
  •  A new package manager, Pub
  •  A server-side I/O library.

The SDK comes with a language specification describing Dart semantics, including many features new in this release.

It also includes the browser Dartium, the Chromium build with native Dart support. that we originally saw as an experimental release in February and a standalone lightweight editor to help developers refactor and debug code which is introduced in the video below. You can also use Eclipse, IntelliJ and Webstorm which have Dart plugins.

To know more about Dart, see Seth Ladd's 4-minute video, Introducing Dart:


With so many alternatives to making JavaScript better, it is difficult to know if Dart has a big future ahead of it. Not only do we have popular language alternatives like CoffeeScript, but there are JavaScript augmentations like TypeScript and the sweet.js macro language. 

Given that Dart compiles to JavaScript, there is no obvious disadvantage in using it - unless of course development in native JavaScript is faster and/or produces faster programs. Also, given that JavaScript is itself evolving, it could just be that Dart and similar projects become irrelevant. What is certainly obvious is that no other browser manufacturer is going to add native, or rather VM support, for Dart unless it becomes very, very popular and even then commercial interests would probably block its support.




Better Than Floating - New Number Format Avoids Imprecision

It is well known that the way computers do arithmetic isn't the same way we do arithmetic, but if you thought that IEEE 754 floating point was the last word then you need to rethink. A new format [ ... ]

Perl 5.24.0 Released

While stepping down as Perl 5 Pumpking, in charge of the Perl release cycles, Ricardo Signes still managed to deliver Perl's latest stable release, 5.24, together with the development release, 5.25, t [ ... ]

More News

Last Updated ( Thursday, 18 October 2012 )

RSS feed of news items only
I Programmer News
Copyright © 2016 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.