News for hackers. Stuff that matters.
Re:The Dart VM is now 50% faster than V8 on the two Octane b... by mraleph on Tuesday December 11, 2012 @04:18AM (#4903764)
[disclaimer: I work on the Dart VM]

Dart is actually not statically typed: in production mode (which is default) type annotations are ignored completely, in checked mode they are translated to runtime type guards and not checked globally&statically during compilation. For more details please take a look at: http://www.dartlang.org/articles/why-dart-types/

Published benchmark scores are coming from the production mode. Even if you remove all type annotations performance will not change a bit.

In fact by design Dart VM does not use any information provided in type annotations to perform optimizations.

There are no comments on this comment yet.