Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I noticed that in the last round of the language shootout benchmarks that rust was significantly behind C++(and I also noticed that this was being addressed on the rust reddit).

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.



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.


> 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.


> but that doesn't work for the benchmarks game.

fyi

http://benchmarksgame.alioth.debian.org/u64/program.php?test...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: