On Saturday, 23 March 2013 at 02:34:56 UTC, Adam D. Ruppe wrote:
On Saturday, 23 March 2013 at 02:20:33 UTC, bearophile wrote:
I think someone will be happy to use D instead of C/C++ on the web for performance-sensitive code, like games.

If it compiles to any kind of javascript it is a mistake to think they'll be a performance boost over just writing javascript, with or without annotations. Odds are there will be leaky abstractions in the compile process that can hurt speed.

The DeltaBlue benchmark written in Dart, translated to JS using dart2js, and run on V8 actually just started running faster than handwritten JS running on V8.

http://www.dartlang.org/performance/#

Of course, the handwritten JS could be optimized to match whatever dart2js is doing but it's an interesting result.

Reply via email to