News for hackers. Stuff that matters.
Re:Microsoft shoots down Google's Dart by azakai on Wednesday November 23, 2011 @04:43PM (#3271877)
Did you mean Google Web Toolkit? That compiles Java to JS, and is similar to Script# (which compiles C# to JS). Whereas Closure Compiler is an optimizing compiler for JS, it compiles JS to (better) JS. (The Microsoft article did mention Google Web Toolkit, which was nice of them.)

GWT and Script# are both quite mature at this point, it looks like. Very interesting stuff. (However, GWT is probably losing focus inside Google to Dart, so I am not sure of its long-term prospects. It's open source though so anyone can continue it if they want.)

Re:Microsoft shoots down Google's Dart by munificent on Wednesday November 23, 2011 @07:39PM (#3272472)
Closure compiler doesn't just compile vanilla JS. It supports type annotations in comments and will use those to generate code. It's type system supports classes and interfaces. The Closure library has support for class-style inheritance.

Programming in Closure-style JS feels like you're using an optionally-typed class-based language, just one with really terrible syntax.

Re:Microsoft shoots down Google's Dart by azakai on Wednesday November 23, 2011 @10:41PM (#3272934)
Thanks, I didn't know that. Perhaps those type annotations could help optimize compiled code (like from Emscripten).