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.

 

 dart

More Information

Celebrating Dart's birthday with the first release of the Dart SDK

dartlang.org

Downloads & Source

Getting Started With Dart Editor

Related Articles

Dart + Chromium = Dartium

Google starts to detail Dart

Google spawns yet another language - Dart

Google Helps Devs Convert JavaScript To Dart

Dart Does Physics - Just To Prove It Can!

MacrosGetting Started With TypeScript

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

Banner


Ai-Da's Portrait of Alan Turing At Auction
01/11/2024

Sotheby's Digital Art Day Action, now underway, features a large-scale portrait of  Alan Turing created by Ai-Da, the humanoid robot artist whose work, including this canvas, was exhibited at the [ ... ]



AI Propels Python To Top Language on GitHub
30/10/2024

This year's Octoverse Report reveals how AI is expanding on GitHub and that Python has now overtaken JavaScript as the most popular language on GitHub. The use of Jupyter Notebooks has also surged.


More News

Last Updated ( Thursday, 18 October 2012 )