Tuesday, August 27, 2013

Increased Stability in new Dart SDK release

With the new milestone release today, Dart has become more stable: we have fixed over 650 bugs since our last milestone release in June. Moreover, a reduced API churn in the core libraries and continuous improvement of the developer experience (e.g. in debugging) has improved the overall stability of the platform substantially.

Reflection has been improved in the Dart VM. For example, reflectively performing a new invocation on an object is now 20 times faster. The VM, in addition to ia32 and x64, has also been ported to ARM and MIPS.

Debugging performance was improved for stepping in both Dartium and standalone Dart VM. In particular, we have addressed debugger usability issues, such as:
  • Stepping into closures, callbacks and emulated functions.
  • Stepping across asynchronous invocations.
  • Support for top level exception handling.
In the Editor, the new analysis engine is now fully spec compliant. The Editor also provides hints on unused library imports and dead code, helping developers keep their code slim over time. Additionally, Mac users will find that Editor binaries are now signed so you no longer have to lower the security settings when launching the Editor.


You can download Dart Editor and Dart SDK from dartlang.org, and we invite you to join the Dartisans community on Google+ and file feature requests and bugs. Our current focus is bug fixing and getting ready for 1.0, so your feedback really counts. We look forward to seeing what you build!

Ecma to hold workshop on the Dart programming language

Ecma will hold a workshop on Dart on September 20, 2013 in Boston, Massachusetts, US. We encourage both members and nonmembers to let us know they are interested in attending.

In April 2013, Dart was proposed for standardization by Ecma International. In June 2013 at the Ecma General Assembly a successful presentation on Dart was held, a draft scope of work was proposed, and the topic of standardization was discussed.

The Ecma GA has decided to progress with the project, and will hold the workshop on Dart before the October Ecma CC meeting. In the workshop we'll give a short introduction to Dart, set the direction for the possible future Dart work in Ecma, and discuss potential new features in Dart.

Members of the Dart project, including Dart's "Chief Specification Officer" Gilad Bracha, will be in attendance.

The workshop is a good opportunity to help drive the evolution of the Dart language. Please register your interest before September 6.

Wednesday, August 21, 2013

Dart App Wins Google Glass Hackathon

High-fives to team GlassFrogger, who used Dart and HTML5 to win the Breaking Glass hackathon on August 18th, 2013. They ported the classic arcade game Frogger to Google Glass and its embedded web browser.


"A lot of this was discovery...we wanted to see what we could exploit without having to write a native app. How can we reuse our code? We can write this once and deploy it anywhere [with Dart and HTML5].", said Adam Singer, developer on GlassFrogger.

Hop on over to the video of the demo pitch and a bit of game play. Engadget and Robert Scoble covered the winners, and were impressed by the effort.

The game, while not complete, was built entirely during the 48-hour hackathon. Luckily, the Dart code is open source and you can try it with or without glass (try spacebar to move forward, not sure there's a move backward yet. Did we mention it's open source?) The Dart app is compiled to JavaScript, so that it can run across Glass and modern web browsers.

The Dart code uses the Google Mirror API package and the Google Plus API package, both from the pub package manager.

The GlassFrogger team consisted of +Jeff Bond +Jonathan Fearn +Steven Mautone +Ryan Weaving +Adam Singer.


Winners? Dartisans? Both! Pic courtesy of Noble Ackerson
Congrats to all the participants of Breaking Glass. We hope to see more interactive web experiences for Google Glass in the future. Keep on hacking!

Wednesday, August 7, 2013

Dart Libraries for Google APIs and Protobufs Available

Dart libraries for both Google APIs and Protobufs are available for download. You can use Dart to access APIs from services such as Google+, YouTube, Drive, and more. You can also use Dart to interact with Protocol Buffers, Google's structured data encoding format. The libraries are open source and available today.

The Dart client libraries for Google APIs cover a wide range of Google APIs. Each client library is bundled as a pub package and uploaded to pub.dartlang.org, Dart's package hosting service. For example, check out the Dart library for the YouTube API on pub. These libraries are maintained by a dedicated group of Dart community developers.

Bonus: learn how to generate Dart client libraries for your own Cloud Endpoint service in this post from the Dartwatch blog.

Protocol Buffers, or protobufs, are a way to encode and decode structured data for interop between various systems. Both the protobuf runtime and code generator are available for Dart, and are open source.