Re:Performance of Rust and Dart in Sudoku Solving
by melling on Saturday April 06, 2013 @09:06AM
(#5503479)
It looks like Go 1.1 might be faster than Java. That might help convince enterprise developers to adopt it.
Re:Performance of Rust and Dart in Sudoku Solving
by jfb on Saturday April 06, 2013 @09:39AM
(#5503546)
No way would a microbenchmark ever change any responsible person's mind about tooling. There are a lot of reasons (some of them nearly respectable) to use Java; "it's faster than <X>" isn't one of them.
Re:Performance of Rust and Dart in Sudoku Solving
by saosebastiao on Saturday April 06, 2013 @11:19AM
(#5503821)
Don't be silly. Java is extensively used for speed. It is an extremely fast language with a few caveats (such as startup/warmup time).
Re:Performance of Rust and Dart in Sudoku Solving
by melling on Saturday April 06, 2013 @07:34PM
(#5505474)
Of course, I didn't mean to imply that any microbenchmark would change someone's mind. It's kind of absurd to think that's what I meant. Go should approach C/C++ in performance and often Java is promoted as about 2x slower than these two languages. Fast compilation and linking is another big plus. The formatting consistency is another. It's not a verbose language either.
gcc 4.7.2 o3 0.765s
java openjdk 7 1.066s
java openjdk 6 1.118s
go 1.1b 1.653s
rust 0.6 opt 3 1.659s
go 1.0.2 2.127s
dart 0.4.4.4 2.384s
pypy PyPy 1.9.0 5.094s
pypy PyPy 2.0b 5.319s
(Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz)
Edit: Added java