News for hackers. Stuff that matters.
Re:"Hello World" in Dart, compiled to JavaScript by cdata on Tuesday October 11, 2011 @03:16AM (#3097543)
In all fairness, you removed the actual print function from the code. Inspection of the non-compiled source suggests that the entire function execution as shown in /2 is called for every call to Dart's print.

print$getter()(1, $noargs, 'Hello, Dart!'); print$getter()(1, $noargs, 'foo'); print$getter()(1, $noargs, 'bar');

Re:"Hello World" in Dart, compiled to JavaScript by swannodette on Tuesday October 11, 2011 @09:00AM (#3098344)
I did not remove print. Google Closure Compiler does inlining as well.