Live data from Hacker News

Celebrating Dart’s birthday with the first release of the Dart SDK

google-opensource.blogspot.com

1–10 of 21 posts

Re: Celebrating Dart’s birthday with the first release of the Dart SDK

#4
post #3

Has anyone built something that illustrates Dart's features or made a neat web app with it? Can it handle graceful degradation from running in a browser which natively supports Dart to a browser which requires JS compilation?

> Has anyone built something that illustrates Dart's features

Take a look at: http://synonym.dartlang.org/

> or made a neat web app with it?

We're getting there. People are starting to build frameworks and libraries, and there are a bunch of sample apps floating around. The language itself is still changing pretty quickly, so it's most amenable to early adopters. As things get more stable, I think we'll start to see more apps.

> Can it handle graceful degradation from running in a browser which natively supports Dart to a browser which requires JS compilation?

Yes. There's a canonical stub .js file that you add a script tag for on your page. That will detect whether or not the browser supports Dart and pull in either the native Dart code or the compiled-to-JS one as appropriate.

With this, you can write an app that any browser can hit and it will do the right thing.

Re: Celebrating Dart’s birthday with the first release of the Dart SDK

#6
We're using AngularJS on a large project, and although we haven't looked deeply at Dart yet, I still have a ton of questions in regard to their future compatibility, potential overlaps, roadmaps, etc. I've seen some message group posts about this, but there was nothing definitive and the core groups don't seem to collaborate at all (please correct me if I'm wrong).

Re: Celebrating Dart’s birthday with the first release of the Dart SDK

#8
post #6

We're using AngularJS on a large project, and although we haven't looked deeply at Dart yet, I still have a ton of questions in regard to their future compatibility, potential overlaps, roadmaps, etc. I've seen some message group posts about this, but there was nothing definitive and the core groups don't seem to collaborate at all (please correct me if I'm wrong).

You'll probably want to see Dart's Web Components[1] work. I suggest you direct any questions over to the mailing list[2].

[1] https://github.com/dart-lang/dart-web-components

[2] https://groups.google.com/a/dartlang.org/forum/#!forum/misc

Re: Celebrating Dart’s birthday with the first release of the Dart SDK

#9
post #3

Has anyone built something that illustrates Dart's features or made a neat web app with it? Can it handle graceful degradation from running in a browser which natively supports Dart to a browser which requires JS compilation?

> Has anyone built something that illustrates Dart's features Take a look at: http://synonym.dartlang.org/ > or made a neat web app with it? We're getting there. People are starting to build frameworks and libraries, and there are a bunch of sample apps floating around. The language itself is still changing pretty quickly, so it's most amenable to early adopters. As things get more stable, I think we'll start to see…

AJAX commands are still shown as:

    var xhr = new XMLHttpRequest.getTEMPNAME(
Hasn't this been changed per http://code.google.com/p/dart/issues/detail?id=2584 ?
Post reply on HN