Skip to main content

Posts

New site for Dart news and articles

For the latest Dart news, visit our new blog at  https://medium.com/dartlang .

Dart 1.1 features up to 25% faster Javascript

Better performance, more features, and improved tools mark the 1.1 release of Dart. Just two months after the 1.0 release , this new release delivers a set of compatible updates that makes applications easier to develop and faster for end users. Dart’s Javascript output continues to shine. Performance on the Richards benchmark is 25% better than the first release, making runtime comparable to the original JavaScript. Performance of the newest benchmark, FluidMotion, has doubled since November. Dart2js now generates Javascript that performs as well as, if not better than, the idiomatic Javascript equivalent. While there’s a lot of focus on Dart for browser applications, there is also growing interest in Dart for server solutions. This release provides a number of enhancements for server-side Dart, including support for large files, file copying, process signal handlers, and terminal information. New in this release is support for UDP, which, for example, allows developers to write more...

New docs and samples for server-side and command-line Dart apps

The Dart team published new docs and samples showing how to write command-line and server-side apps with Dart. The Dart VM's dart:io library provides access to files, directories, sockets, web sockets, SSL, TCP, UDP, HTTP, and more. Community packages on pub.dartlang.org provide higher-level frameworks and libraries. The Command-Line Apps for Dart Programmer's Guide starts to collect resources for the new server-side and command-line Dart app developers. You'll find links to samples, API docs, community projects, tutorials, and more. The new Command-Line Apps in Dart tutorial teaches you how to build command-line apps. Learn how to use stdin/stdout, command-line arguments, files and directories, and more. For an in-depth look at how a Dart-based HTTP and Web sockets server is written, check out Walkthrough: Dartiverse Search . This chapter from Dart Up & Running shows how Dart is used for both the client and the server. Bonus: learn how you can connect to G...

Ecma forms TC52 for Dart Standardization

This week Ecma created a new technical committee named TC52 to publish a standard specification of the Dart language. We’re excited about this milestone in the evolution of Dart and the web. Dart is ready for standardization. As of last month’s 1.0 SDK release , Dart is now officially stable and mature enough for production use. We’ll be collaborating with the broader web community via TC52 to responsibly evolve the language going forward. The new standardization process is an important step towards a future where Dart runs natively in web browsers. Dart apps can be fast when compiled to JavaScript, but an embedded Dart VM enables even better performance . We're thrilled to have a dedicated technical committee working on Dart. We also feel confident that Ecma—the home of standards such as JavaScript, Eiffel, and C#—is the right place to help guide the evolution of the Dart language. If you’d like to get involved, please join the committee .

How dart2js generates efficient JavaScript code

Learn how dart2js generates efficient JavaScript code with the video and slides from " Dart for the Modern Web Developer " talk from Chrome Dev Summit . This presentation, from Dart engineers Kasper Lund and Seth Ladd, takes a look into dart2js, a Dart to JavaScript compiler, and showed how it generates efficient JavaScript code. Performance charts show dart2js generates JavaScript code that is sometimes faster than hand-written JavaScript code. The compiler is able to analyze the entire Dart program for both local and global optimizations. The presentation shows some of the techniques, with plenty of code examples. Check out all the great content from Chrome Dev Summit , including content on mobile web development, performance, DevTools, and more. Enjoy!

Dart used to build new development editor for Chrome Apps

The Spark project is a new development environment built with Dart and Polymer for the Chrome Apps platform. Spark is an open-source project hosted on Github. François Beaufort reports that the project contains GUI widgets powered by Polymer, the new library for modern web apps build on Web Components. Spark's primary focus is building web apps written in Dart and Chrome App based applications. It is an early example of how to combine Dart, Polymer, Dart-JavaScript interop, and Chrome Apps to build a modern app using web technologies.

Dart 1.0: A stable SDK for structured web apps

Today we’re releasing the Dart SDK 1.0, a cross-browser, open source toolkit for structured web applications. In the two years since we first announced Dart , we’ve been working closely with early adopters to mature the project and grow the community. This release marks Dart's transition to a production-ready option for web developers. The Dart SDK 1.0 includes everything you need to write structured web applications: a simple yet powerful programming language, robust tools, and comprehensive core libraries. Together, these pieces can help make your development workflow simpler, faster, and more scalable as your projects grow from a few scripts to full-fledged web applications. On the tools side, the SDK includes Dart Editor , a lightweight but powerful Dart development environment. We wanted to give developers the tools to manage a growing code base, so we added code completion, refactoring, jump to definition, a debugger, hints and warnings, and lots more. Dart also off...

Dart at Devoxx 2013

Devoxx 2013 is here, and Dart has a strong showing on Thursday, November 14th. Keynote with Lars Bak At 9:40am, Dart co-founder Lars Bak delivers the morning keynote titled " Shaping the Future of Web Development ". Q&A with the Dart Team At 1:10pm, representatives from the Dart team will take your questions in a "ask us anything" format. Bonus: we'll be playing buzzword bingo. Building a mobile, multi-player HTML5 game with Dart At 2:00pm, Seth Ladd presents a case study on his team's recent project to build a multi-player, multi-device, mobile-friendly, HTML5 game with Dart. Happy hour with Dart and Angular At 6:00pm, meet the Dart and Angular teams for a happy hour. We'll have food and drinks, and plenty of opportunity to chat with the engineers behind the projects. Visit the Google booth, or find a Dart or Angular engineer, to get a wristband (free while supplies last). Hope to see you there! Stop by and say Hi! ...