3 ms·
Unfortunately the only C++ comparison is with g++, which makes me wonder how much we're actually benchmarking the llvm backend versus the gcc backend. Perhaps
by bitbiter 12y ago
Unfortunately the only C++ comparison is with g++, which makes me wonder how much we're actually benchmarking the llvm backend versus the gcc backend.
Perhaps even more interesting is how gcc C consistently outperforms g++ C++ (and Rust, for that matter).
- jerf 12y agoYeah, usual benchmarks caveat, take with grain of salt. Still it's an interesting result. Many languages aren't even within spitting distance of C++, after all. And that's actually really good performance for a 1.0 of something like Rust; usually at this phase even a language putatively tuned for performance is still hanging around at 1/2 - 1/4 the speed of C, at least based on what I see. Rust is doing something right.