4 ms·
Got a reference on that? They claim otherwise. http://news.dartlang.org/2013/03/why-dart2js-produces-faster-javascript.html http://news.dartlang.org/2013/03/wh
by flavor8 12y ago
Got a reference on that? They claim otherwise.
http://news.dartlang.org/2013/03/why-dart2js-produces-faster-javascript.html http://news.dartlang.org/2013/03/why-dart2js-produces-faster...
- Bahamut 12y agoI don't want to quote the exact person here since it was told to me in a discussion at a meetup a couple of months ago and may have been told in confidence, but it comes from a fairly prominent & known Google developer. For the record, I'm not against Dart - I wouldn't mind a new language being the norm that draws the good parts from JavaScript and other languages. New languages face an uphill battle though, from an adoption standpoint.
- mythz 12y agoThis sounds wrong, the Dart team are a team of highly talented perf-focused hackers who spend a lot of effort optimizing both Dart2JS and DartVM with advanced compiler tricks to get the most out of each platform. See advanced profiler and introspection tools to profile Dart Apps: https://www.youtube.com/watch?v=Ww8ISWzZGRE https://www.youtube.com/watch?v=Ww8ISWzZGRE From Kasper Lund showing advanced compiler tricks Dart2JS uses to generate highly optimized JS: https://www.youtube.com/watch?v=FqsU3TbUw_s https://www.youtube.com/watch?v=FqsU3TbUw_s From V8 and Dart founders about why Dart is faster and easier to optimize: https://www.youtube.com/watch?v=huawCRlo9H4 https://www.youtube.com/watch?v=huawCRlo9H4 Performance for each platform can be tracked at: https://www.dartlang.org/performance/ https://www.dartlang.org/performance/
- simonster 12y agoIf you look at https://www.dartlang.org/performance/ https://www.dartlang.org/performance/ it looks like performance of js vs. dart2js is basically a wash. One benchmark is much faster in js, one much is much faster in dart2js, two are slightly faster in js, one is slightly faster in dart2js. The DeltaBlue benchmark highlighted in the article you linked to is now faster in js than dart2js. But one wonders what those plots would look like with another js engine, since dart2js is presumably optimized to emit code that v8 can optimize.