2 ms·
It's currently slower, yes. Stack checks and stack switching, for example, are part of the reason; that's why we plan to make them able to be turned off. Certa
by pcwalton 14y ago
It's currently slower, yes. Stack checks and stack switching, for example, are part of the reason; that's why we plan to make them able to be turned off.
Certainly, if you need something to be shipped soon, and you need it to be performance-competitive with C++, don't use Rust. Despite the fact that it's backed with LLVM, the compiler is quite immature.
I don't think at this point that any significant avenues for optimization are closed off in the Rust language design relative to C++. The safety checks are all designed to be optional.