News for hackers. Stuff that matters.
Re:Opal: Ruby to JavaScript Compiler by spankalee on Thursday June 05, 2014 @01:17PM (#7852949)
Looks like we should have eliminated the loop entirely.

Also, a disclaimer in case anyone tries this themselves: there is a bunch of plaftorm/library code in the Dart output that's not used by such a trivial program and could be eliminated. The dart2js team is focusing of reducing the size of large programs, which do usually use this code, so eliminating it in small programs isn't much of a real-world win right now.

Re:Opal: Ruby to JavaScript Compiler by munificent on Thursday June 05, 2014 @04:58PM (#7854429)
> there is a bunch of plaftorm/library code in the Dart output that's not used by such a trivial program and could be eliminated.

Note that the Opal code also has this.