Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



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 ?




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: