In a nutshell:
* async/await
* generators
* enums
* Dart Analysis Server (accessible through IntelliJ/WebStorm & Sublime)
* New RegEx engine, 150x speed up in Dart VM
* …It's also making me question the long-term viability of Golang, given Google's history of shutting down projects abruptly.
Are any important teams inside Google using Golang for heavy-lifting? At least Dart talked about the Google Ads team using Dart. One of the goals behing Golang was go have C++ programmers move to the language, but instead it's Python and Ruby programmers picking it up. So if C++ Googlers aren't using the language, it might imply that no critical systems are being built with Golang.
Also look at the resources that were initially put behind Dart. Meanwhile look at Golang, after all these years there is no official IDE. You would think that if Google were serious about Golang they would have put more resources into developing the ecosystem. It seems like Google want to have their celebrity employee, Rob Pike, in order to attract worker bees to apply for the grunt work at Google. Much like yesterday's post about Bjarne Strostroup working at Morgan Stanley.
You should be questioning the long term viability of Dart, not Go.
[0]: https://groups.google.com/forum/#!msg/golang-codereviews/DrG...
I don't care for conferences, but I do care about tools. Google put resources into developing a full IDE for Dart, yet nothing for Go...
> yesterday's announcement about stopping development of
> Chrome Dart VM has put a dampener on things for me.
I had the opposite reaction; non-reliance on Chrome incorporating a VM means it might actually have long-term legs.And I think all will be fine with Dart too. Today's release is very interesting for server-side development. In both cases, on the server and on the client side, people will use Dart when they prefer Dart to JS. And difference not only in syntax or amount of sugar, but in "how the whole system works" (don't know how to say it). And when you know that most profitable web project in human history is committed to Dart, then you can be sure, Dart is here to stay :)
So while both transpile to Javascript and that's great when it comes to cross-browser reach, a large Dart codebase makes me nervous since there's a high barrier of both entry and exit if Google would abandon the project, which they have shown themselves to be good at doing, especially with little to no forewarning. TypeScript's approach just feels more sensible to me.
I like the vision set by Dart -- a complete toolkit in language as well as API for the modern web, client as well as server -- and while TypeScript may not share it, it does share the vision of greatly simplifying large scale web application development. Further, I think it even surpasses Dart on that front for above reasons and general workflow and migration reasons which cannot be underestimated in particular for a new language.
Dart is better for cross-platform development.
Why is that an important difference? The advantages of Dart over TypeScript are that it has better semantics that result in more readable/maintainable code, not that it does or doesn't run in a different VM.
where did you hear that ? C++ programmers didn't move to D why the hell would they want to move to Go , a garbage collected language ?
> Although we expected C++ programmers to see Go as an alternative, instead most Go programmers come from languages like Python and Ruby. Very few come from C++.[1]
I thought this was obvious, considering their initial approach to promote Go: "Go is a systems language". But now they abandoned the phrasing.
[1] http://commandcenter.blogspot.com/2012/06/less-is-exponentia...
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.
BTW, it seems odd that Dart is not supported server side on AppEngine. Sandboxing problem? You need to use a compute engine.
https://www.dartlang.org/server/google-cloud-platform/app-en...
App Engine decided to go that route to add new languages, rather than sandbox each language individually like with Python and Java (The Go backend was created by the Go team before Managed VMs).
http://queue.acm.org/detail.cfm?id=2747873
Skip down to: "While async functions may remind us of the async/await feature in C#, note that there are differences."
The first author is Erik Meijer who worked on C# (among other things) at Microsoft.
However, I even abandoned PHP for its fractured community in the past couple months. I don't see how I can back Dart when its creator is so publicly disinterested.
I apologize if that seems harsh, but it's just how I feel.
You can use Dart with any modern browser. Use it with IE if that's your standard.
I haven't tried it with DART 1.9 so maybe that problem is no longer there.