48 points · by Lightning · 13y ago · 74 comments
The Angular team recently announced[1] that they are going to start supporting the Dart project too. This means that if you're already familiar with writing Angular code but you want a language with some better semantics, better tooling, and a standard library, this may be a good time to start checking it out.
[1]: http://news.dartlang.org/2013/06/angularjs-announces-port-fo... , https://github.com/angular/angular.dart
I have no idea how Google could get around that - maybe a written promise to provide support for Dart for X years?
EDIT: Another similar worry: if Dart really does take off, will Google not just drop support for other browsers besides Chrome from stock Dart?
I'm no longer willing to tie my career to google's fickle attention span. Particularly since as I understand it the dart team has some of the same personnel from the old gwt team. They are masters at the art of soft deprecation through neglect.
Dart is lead by Lars Bak out of Aarhus, which IIRC wasn't even a Google office location before they hired Lars to do V8. Even if some people transfered over from GWT, I doubt it would be many, and I don't see how it would have substantial impact with someone like Lars at the top.
And it's been 7 years since GWT was released. Yes, yes, enterprise needs whatever, but many web technologies fade away over time. It sucks if you were an early adopter and were heavily invested, but at a certain threshold, no one cares anymore. Is YUI's nearly negligible update rate a sign of Yahoo's fickle attention span? No, because no one uses it anymore (sorry YUI users), and at a certain point you have to cut your losses. If the community is self sustaining enough, it can pick up the slack with these open source frameworks, but if it's not, I really can't manage any indignation. It happens sometimes.
I'm not advocating using Dart in production (I would advocate just learning JS if you're targeting browsers anyway...), but this critique is specious at best, not least because the SDK is apparently just entering beta, so it says right on the tin not to found your production pipeline on it.
Not that there weren't signs of ADD before that, what with the dizzying changes in how-things-ought-to-be-done with each point release. But an attendee of 2011 Google IO could quite reasonably have come away with the impression that as far as Google was concerned the future of GWT was glorious. (see http://www.google.com/events/io/2011/sessions.html)
Even in this age of iterating, pivots, and agility, two years is a quick turnaround from breathless evangelizing to dead and buried.
then why anybody would want to use it? as much as i dislike MS , their TypeScript language makes more sense than Dart which feels DOA already.
If Dart, an open-source toolchain, takes off (e.g., becomes wildly popular with developers) and then Google chooses to limit future Dart versions to only work with Chrome, I would expect a fork to become popular in a heartbeat. I mean, look at other popular open source projects whose sponsor/maintainer has done things unwelcome by the community (e.g., OpenOffice, MySQL.)
The difference is that Dart is not a service, and cannot just be turned off. It's an open-source language, and "at worst" could be community maintained.
I stopped playing with Dart when I "discovered" Meteor recently. That said, the Dart language is very nice and I might still use it on a real project.
http://channel9.msdn.com/Blogs/Charles/Anders-Hejlsberg-Stev...
So just like every language being developed today then?
At the moment the goal of the Dart language is to provide a structured language to help create large scale web applications with much faster Starup and runtime performance that's being developed by experienced language designers with input from skilled VM engineers who were on teams that's brought the worlds fastest language VMs: i.e. StrongTalk's VM (later acquired by Sun to form Java's fast Hotspot VM), V8 and are now working on Dart's VM. Google's goal for Dart is to provide a better language to develop, faster and richer web applications - I'm not sure which of their goals are harmed from being a Google Sponsored project.
Note the Dart team frequently asks for feedback on the Dart Mailing list and invites features and language enhancements on the projects issues list: https://code.google.com/p/dart/issues/list
I haven't seen anything about Dart (the big win would be eliminating the really slow DOM "GC" cycles on the webkit/blink side of things), but it would be interesting if this opened the way for easier VM integration. My understanding was that post-webkit they were tying v8 deeper into blink, though, not allowing more flexibility...
http://arewefastyet.com/#machine=11&view=breakdown&suite=asm...
and you can see that saying that asm.js runs faster in a particular browser is just wrong. On many benchmarks Firefox and Chrome are very close.
In the end, asm.js speed is just like SunSpider and Octane and Kraken speed - it's something browsers compete on. That tends to reduce the differences over time, since all the JS engines are very capable.
asm.js is just JavaScript that works in all browsers and if a browser integrates an asm.js compiler, it'll run faster.
Yes there are deployments steps needed to serve both Dart and JS to browsers: Those steps are: 1. Include both the JS and Dart in your static resources. 2. There is no 2.