BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Google Improves Dart and Provides an SDK

| by Abel Avram on Oct 17, 2012. Estimated reading time: 1 minute |

Google has released an SDK for Dart and several new language features and improvements, such as: an Editor, Dartium, faster VM, a numbers of libraries, a package manager and others.

A year after the initial release of Dart, Google has announced a new milestone for their programming language targeting web applications. This version comes with an SDK and several new features and improvements:

  • The Dart VM is faster than V8 on several Octane tests
  • A new Dart to JavaScript translator
  • An HTML library
  • A JavaScript interop library
  • An Eclipse-based editor running on Windows/Linux/Mac OS X. IntelliJ developers can use a Dart plug-in.
  • Dartium, a Chrome build including the Dart VM for running and debugging Dart code without having to translate it to JavaScript.
  • An I/O library for server-side applications running on a stand-alone Dart VM
  • A language specification

Dart SDK includes the libraries, a Dart-to-JavaScript compiler (dart2js), Dart VM (dart), and Dart package manager (pub). The libraries contain the following APIs:

  • dart:core – basic functionality including numbers, strings, collections, date and time, asynchronous programming, utility classes
  • dart:math – math and random
  • dart:html – DOM, HTTPRequest, WebSockets
  • dart:isolate – concurrency classes
  • dart:io – API for command-line applications
  • dart:json – encoding/decoding JSON
  • dart:utf – Unicode
  • dart:crypto – hash codes

The package manager can be used to access and install public modules created by various users for Dart applications. Examples of such modules are: js – accessing JavaScript from Dart, web_components – MDV (Model-driven Views) web components, mongo_dart – Dart driver for MongoDB, puremvc – a framework for creating MVC applications, html5lib – a library for HTML docs, and others.

According to the Dart team, the language still needs improvement and refining before it can be considered ready. They promise to maintain backward compatibility.

The source code of the entire Dart project is available on Google Code.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and dont miss out on content that matters to you

BT