What's meaningful to talk about is how efficient common C++ and Rust *idioms* are. There's an inherent asymmetry here, though, in that Rust has an explicit safe/unsafe distinction and C++ does not. C++ code is effectively always allowed to use unsafe.
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
performance comparisons between languages are, in general, a good way of saying a lot that means nothing
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I’d argue it’s exactly the opposite — because of the shared LLVM backend, you’re in a much better position than usual to compare language performance. Think FORTRAN being faster than C because it’s allowed to assume pointers don’t alias (so is allowed to generate faster IR)
-
This Tweet is unavailable.
New conversation -
-
This Tweet is unavailable.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.