News for hackers. Stuff that matters.
Re:Angular Announces AngularDart by Helianthus on Tuesday November 05, 2013 @04:00PM (#6678260)
Because that's a pretty laughable idea. There's no reason for browsers to choose Dart over CoffeeScript or TypeScript, and Dart is so far behind CoffeeScript it's not even funny.

Google wants to do it, sure, but that doesn't mean they'll succeed, even if they try something as stubborn as running Dart alongside Javascript in Chrome.

There simply isn't a path to ubiquity for Dart, and if there were it's not the only language on it.

Re:Angular Announces AngularDart by spankalee on Tuesday November 05, 2013 @04:45PM (#6678601)
You have it backwards. There's no reason for browsers to choose CoffeeScript or TypeScript because they do not change the semantics of JavaScript which make it hard to optimize for. There really isn't anything for a browser to adopt with one of those languages, other than a small translation to JS.

Dart is fundamentally different in that it was designed for speed (as well as toolability and readability) and by directly supporting Dart a VM can make many more optimizations than a JS VM can. The Dart VM is already 1.5-2x faster than JS in some cases, while being _much_ younger.

Re:Angular Announces AngularDart by davidstalnaker on Tuesday November 05, 2013 @04:15PM (#6678366)
In what way is Dart "so far behind" CoffeeScript?
Re:Angular Announces AngularDart by Helianthus on Tuesday November 05, 2013 @04:20PM (#6678400)
developer mindshare.

Check tag count for questions on SO; 4500 for CoffeeScript, 1500 for Dart.

Not to mention the violent revulsion many people (myself included) are expressing in this topic.

Re:Angular Announces AngularDart by cromwellian on Tuesday November 05, 2013 @07:40PM (#6679695)
By that metric, GWT blows away CoffeeScript with ~15,000 questions on SO. Are you sure you want to use that metric?
Re:Angular Announces AngularDart by Helianthus on Tuesday November 05, 2013 @08:45PM (#6679986)
Point was to compare compile-to-javascript languages.
Re:Angular Announces AngularDart by spankalee on Tuesday November 05, 2013 @09:42PM (#6680215)
Uh, GWT is a Java-to-JS compiler.

On that note, Java has 508,338 questions on StackOverflow, which crushes CoffeeScript, /especially/ with those 15,000 GWT questions ;)

Re:Angular Announces AngularDart by Helianthus on Tuesday November 05, 2013 @09:51PM (#6680260)
Oh, interesting. Is it really a standalone transpiler or is it a set of tools?

As someone else pointed out, SO isn't a great metric, but finding github activity by language seemed to take more time than I was willing to invest.

Re:Angular Announces AngularDart by spankalee on Tuesday November 05, 2013 @10:17PM (#6680385)
No metric will be great right now because Dart is so new compared to CoffeeScript. CoffeeScript 1.0 was released 3 years ago. Give us a chance to get 1.0 out the door :)
Re:Angular Announces AngularDart by eco on Tuesday November 05, 2013 @04:33PM (#6678494)
That's not a very good metric. CoffeeScript is twice the age of Dart.
Re:Angular Announces AngularDart by Helianthus on Tuesday November 05, 2013 @06:48PM (#6679396)
Fair point; I was trying to get github numbers and got sidetracked.
Re:Angular Announces AngularDart by rdtsc on Tuesday November 05, 2013 @08:26PM (#6679901)
> Not to mention the violent revulsion many people (myself included) are expressing in this topic.

Immaturity seems like a good explanation of that effect

Re:Angular Announces AngularDart by Helianthus on Tuesday November 05, 2013 @09:17PM (#6680097)
Not your best work.
Re:Angular Announces AngularDart by rdtsc on Tuesday November 05, 2013 @09:20PM (#6680111)
I just let Occam do the dirty work for me sometimes.
Re:Angular Announces AngularDart by Helianthus on Tuesday November 05, 2013 @09:28PM (#6680150)
Oh don't be so simple.

:P