News for hackers. Stuff that matters.
Re:Dart vs Java — the DeltaBlue Benchmark by dvt on Thursday May 23, 2013 @03:21AM (#5755695)
There are many problems with this benchmark, as discussed here: http://www.reddit.com/r/programming/comments/1e2jhr/dart_vs_...

IMO DeltaBlue is a terrible benchmark typology anyway. Benchmarks have to be localized for them to mean anything; and even then, they don't mean much 90% of the time. Dart's pretty neat (editing a book about it atm), but this kind of language zealotry is just silly. Dart is hardly a silver bullet. And many of the truly interesting features (mixins, isolates, fancier mirrors) are yet to be implemented or incomplete. Definitely keep an eye out for Dart, but don't fall all over yourself thinking that it outperforms Java (whatever that even means).

Re:Dart vs Java — the DeltaBlue Benchmark by mda on Thursday May 23, 2013 @04:47AM (#5755851)
Why do you think this is language zealotry? I am very interested in a language that gives benefits of dynamic languages and speed of statically typed ones. So benchmarks like this are important and I wish more of the octane benchmark was also ported to Java and pitted against dart for comparison.

Also check this one: http://dartogreniyorum.blogspot.ch/2013/05/performance-optim...

and later with Simd:

http://dartogreniyorum.blogspot.ch/2013/05/dart-beats-java-i...

Btw, I think even with the modifications made to Java version mentioned in the link you gave, I think latest version of dart now beats Java.

Edit: Author of blog post also compared Richards and Tracer benchmarks: http://bonovox.be/blog/dart-vs-java-richards-and-tracer/

Re:Dart vs Java — the DeltaBlue Benchmark by xxgreg on Thursday May 23, 2013 @06:37AM (#5756111)
Sure, take all benchmarks with a grain of salt.

However it's worth noting that deltablue has been used to benchmark polymorphism in Smalltalk, Self, the JVM, and V8.

Some of Nickolay's numbers are from a version of the code written at Sun labs, presumably for the very purpose of benchmarking the JVM.

I think it's safe to conclude that in many cases the DartVM already performs similarly to the JVM, albeit with a much better start up time.

Charles Nutter has some interesting follow up comments here:

http://blog.headius.com/2013/05/on-languages-vms-optimizatio...

Basically concluding that it's not static typing that matters, but predictable types.

Re:Dart vs Java — the DeltaBlue Benchmark by bad_user on Thursday May 23, 2013 @04:13AM (#5755792)
The comment linked on Reddit by parent is by Charles Nutter, of JRuby fame.