3 ms·
DartVM Faster Than JavaScript V8?
I was reading on DartVM performace and saw this:
https://www.dartlang.org/performance/
I was amazed at how the DartVM is faster than the famous "screaming fast" V8. Are these benchmarks true or are they just advertisement from Dart?
- fiedzia 12y agoAnything statically typed can easily beat js at speed, there is no magic here. Obvious problem with dart is that on almost every browser it will be translated to js. Also you want to compare it with asm.js.
- Pharohbot 12y agoI was think more about Server-side speed(Dart vs NodeJS in server-side performance). Dart has already proven that its faster than hand-written JS with dart2js in client-side.
- spankalee 12y agoDart's not statically typed. The type annotations are not used at all in production mode. In checked mode they're only used for run-time type checks.
- spankalee 12y agoDart is built by the same team that wrote V8. They know what makes JavaScript difficult to optimize and made Dart much easier for make fast. Not only is the Dart VM faster than V8, but it's much, much simpler.