Re:Dart2js is faster than V8 in DeltaBlue test
by lvivski on Thursday March 21, 2013 @09:50AM
(#5414975)
It's more like "Handwritten Javascript vs Dart2JS generated Javascript" and the latter is better optimized
[ Parent
| on HN ]
Re:Dart2js is faster than V8 in DeltaBlue test
by emn13 on Thursday March 21, 2013 @01:29PM
(#5417068)
Yeah, and in that sense it's unsurprising - witness how v8 is still typically much, much slower than native C - but emscriptem does surprisingly well.
Essentially, no human word use unhandy, verbose, hard to read syntax whereas a compiler might. Thus in practice the JS subset that handwritten code uses is different from that of compiler generated code.