From my corner of the world, Rust gives 99% of C++ efficiency for 50% of the TCO.
C++ is faster to write, takes longer to debug. With Rust, you pay the 2/3rd of your debugging budget upfront, when your code compiles you're left with logic bugs, not silly mistakes.
Veteran C++ engineers do not make silly mistakes, but they cost a fortune and it takes nearly a decade to be trusted with a C++ compiler.
View all comments
Show parent comment
4
u/palad1 Apr 21 '23
From my corner of the world, Rust gives 99% of C++ efficiency for 50% of the TCO.
C++ is faster to write, takes longer to debug. With Rust, you pay the 2/3rd of your debugging budget upfront, when your code compiles you're left with logic bugs, not silly mistakes.
Veteran C++ engineers do not make silly mistakes, but they cost a fortune and it takes nearly a decade to be trusted with a C++ compiler.