3 ms·
This is the biggest release since 1.0. Async/await and generators are a welcome addition. Shareable server sockets and better isolates are also nice to have. E
by ahoge 12y ago
This is the biggest release since 1.0. Async/await and generators are a welcome addition. Shareable server sockets and better isolates are also nice to have.
Enums are currently rather disappointing though. They went with the simplest possible implementation... minus 1. You can't assign integers. Which is a problem because you can do that everywhere else. Naturally, there are many protocols and formats which use ints to represent specific enum values.
I hope they'll fix this in the future.
Speaking of the future, there are a bunch of other interesting things on the horizon such as null-aware operators, non-nullable types, and union types.
The upcoming "Fletch" runtime for iOS and similar restrictive environments is also very exciting. It might turn Dart into the perfect language for video game scripting. It's small, fast, and it supports atomic program changes via a wire protocol.