News for hackers. Stuff that matters.
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 wes-exp on Tuesday October 11, 2011 @12:20PM (#3099172)
On 32-bit Linux GCC, C hello world comes out to only 7 KB. Without optimization.
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.
Re:"Hello World" in Dart, compiled to JavaScript by riya on Tuesday October 11, 2011 @02:17AM (#3097386)
hbgh