Re:"Hello World" in Dart, compiled to JavaScript
by drgath on Tuesday October 11, 2011 @01:37AM
(#3097275)
Funny. But to be fair, a Hello World in C compiles to a 27k binary. Yeah yeah, optimize this, leave out that and you can get it smaller. Still doesn't change the fact that Hello World is not the target use-case for either C or Dart. Dart is intended for very large applications (compared to JS), so the additional weight for includes isn't that big of a deal.
It also doesn't change the fact that Dart sucks. For other reasons though.
Re:"Hello World" in Dart, compiled to JavaScript
by mkopinsky on Tuesday October 11, 2011 @04:20PM
(#3100135)
Just as a datapoint (I did this test before seeing the comment), in 32-bit cygwin a hello world written in C compiled to 12KB. In C++, it compiled to 497KB.
It also doesn't change the fact that Dart sucks. For other reasons though.