4 ms·
There's a few reasons for this: 1. We haven't put in the time for the benchmarks game, because we're too busy working on the language. 2. IIRC, the C++ version
by steveklabnik 12y ago
There's a few reasons for this:
1. We haven't put in the time for the benchmarks game, because we're too busy working on the language.
2. IIRC, the C++ version uses GMP, and we don't, because licensing. You can install a package if you need GMP, but that doesn't work for the benchmarks game.
> I'd like to see more benchmarking done between rust and C++ where there is a solution for each language that is idiomatic or safe while another solution optimizes for performance.
Much of Rust's safety comes with no runtime overhead, but some of it does.
- igouy 12y ago> but that doesn't work for the benchmarks game. fyi http://benchmarksgame.alioth.debian.org/u64/program.php?test=pidigits&lang=rust&id=2 http://benchmarksgame.alioth.debian.org/u64/program.php?test...
- igouy 12y ago> You can install a package if you need GMP, but that doesn't work for the benchmarks game. Why doesn't that work for the benchmarks game? > Much of Rust's safety comes with no runtime overhead, but some of it does. I guess he'd like to find out how much overhead.