Showing posts with label Dartlang. Show all posts
Showing posts with label Dartlang. Show all posts

Wednesday, 8 May 2013

New Quick Assist Items in Latest Dart Editor Build

A new Dart Editor build is available at www.dartlang.org/editor. This build introduces a couple of quick assist items. The first assist item lets you combine an 'if' statement with an inner 'if' statement. Place the cursor over the starting if, press cmd-1, and hit return.

Thursday, 2 May 2013

Strong Dart Presence at Google I/O 2013

Join us at Google I/O 2013 in San Francisco's Moscone Center from May 15 through 17.

<div style="clear:both;te

Monday, 29 April 2013

Notes from the April 22 Dart Language Design Meeting

elvis operator / safe navigation operator Lars is fine with the idea of adding some syntactic sugar like this if it helps real users. Kasper thinks we should wait until after 1.0 to look into it since we'll need analyzer support, editor support, tests, etc.

Friday, 19 April 2013

Pub&#39;s New Constraint Solver

TL;DR: Pub now has a new constraint solver that will pick versions of packages that work with your SDK. No more "doesn't work with your SDK " errors. This should appear in your life in the next SDK build. Pub's job is to look at your dependencies and select the best versions for them.

Wednesday, 17 April 2013

New Quick Videos on Dart&#39;s Classes, Exceptions, and More

Goodbye InvocationMirror, Hello Invocation

TL;DR: We added a class Symbol to dart:core, renamed the class InvocationMirror to Invocation (keeping it in dart:core ), and moved Invoke.invokeOn to InstanceMirror.delegate (moving this functionality from dart:core to dart:mirrors ). Furthermore, Function.apply and InstanceMirror.invoke take a Map to represent named arguments. Finally, dart:mirror uses Symbol instead of String to represent names.

Tuesday, 16 April 2013

List of Last Minute M4 Breaking Changes

The M4 release saw the Core, Async, and Collection libraries stabilize. Dan Grove has compiled a list of the last minute breaking changes: The separator argument in Iterable.join defaults to "" (instead of `null`). All DateTime constants are non-abbreviated. Also changed DAYS_IN_WEEK to DAYS_PER_WEEK.

Core libraries stabilize with Dart&#39;s new M4 release

Today, we are releasing Dart SDK Milestone 4, available for immediate download. The highlights are: Core and collection libraries are now stable. There will be no more breaking changes to these libraries.1 Performance improved in both the dart2js compiler and the Dart VM. Dart Editor comes with an all-new analysis engine for faster real-time feedback.

Wednesday, 10 April 2013

New Dart Editor Release with Dedicated WebGL Library

A new Dart Editor build is available at www.dartlang.org/editor. Changes include: New preference to disable auto-activation of code completion. Theme preview works with new analysis engine. Many performance and memory improvements with new analysis engine. Existing base64 encoder method CryptoUtils.bytesToBase64(List bytes, [int lineLength]) is changed to CryptoUtils.bytesToBase64(List bytes, {bool urlSafe : false, bool addLineSeparator : false}) Remove the (long deprecated) List.addLast method.

Enum Proposal for Dart

The contents from the post: Rumor has it that people want enums in Dart. We've been looking at how to do this for a long time. We've examined all kinds of variations; the full account is, like the giant rat of Sumatra, a story the world is not yet ready to told (forgive me, Sherlock, but I couldn't resist).

Monday, 8 April 2013

Why Blossom is Switching to Dart

So what motivated us to switch to Dart? In this post I'll try to answer this question and go into how I see Dart as a huge step forward for the web & mobile development ecosystem. Blossom is a lightweight project management tool for people who craft modern mobile and web applications.

Tuesday, 2 April 2013

Dart Team Updates for March 2013

Dart Team Updates, Mar 6 - 19 Dart language specification: Make mixins more useful (apply to arbitrary superclasses). More consistent treatment of malformed types. Examining mechanisms to suppress warnings and checked mode when needed. Liberalizing function subtyping. Develop synchronous mirror API for introspection. remove deprecated Arrays, Date and StringBuffer.add/addAll/addCharCodes.

Thursday, 28 March 2013

Why dart2js produces faster JavaScript code from Dart

The dart2js compiler, which converts Dart to JavaScript, now produces smaller and faster code thanks to its global type inferencer. By analyzing the entire program, the compiler can eliminate bail outs and redundant checks, resulting in code that runs faster on modern JavaScript engines.

Tuesday, 26 March 2013

Monday, 25 March 2013

Dart News & Updates: Notes from the March 18 Dart Language Design Meeting

Lars: I like the "implements dynamic" thing. Gilad: Me too, it's like a get out of jail free card. Kasper: That means the type behaves like dynamic in all contexts? Even for is checks and checked mode checks? Gilad: If you assign something to it, it goes through normal rules.

Thursday, 21 March 2013

Dart News & Updates: Significant Dart Editor Release Brings Back String Plus Operator

Due to popular demand, the Dart team brought back the plus operator for string concatenation. That change has now landed in the Editor. Before this release, using + to concatenate strings produced this error: Now, you can use + for concatenation.

Thursday, 14 March 2013

Dart News & Updates: Irrduino: A Sprinkler System Built Using Arduino, Android, Google App Engine, Python, and Dart

Developers frequently ask me if Dart is ready for the real world. Well, of course, that depends on the application. Check out this short video in which Joe Fernandez and I not only show that Dart can be used in the real world, we also show that it can be used to take the tedium out of watering your lawn!