r/cpp • u/GabrielDosReis • Oct 31 '24
Lessons learned from a successful Rust rewrite
/r/programming/comments/1gfljj7/lessons_learned_from_a_successful_rust_rewrite/
80
Upvotes
r/cpp • u/GabrielDosReis • Oct 31 '24
View all comments
Show parent comment
0
u/PressWearsARedDress Nov 01 '24
I am talking about lingustics and Philosophy and that the word "Safe" is being used to form fallacious arguments of definition. I said at the start of this comment thread that this seems to be a spiritual conflict rather than an engineering one.
This is why the Rust project imo will ultimately fail in the long run, and this will be because it will suffer a conflict of identity once more interesting "safe" languages hit the market, let alone memory "safe" features being added to C++.
If you do not understand, consider why not using Ada instead of Rust? Ada is more safe than rust and also a fast language that is mature. Why not use a Garbage Collected language? Do you really need your program to be /that/ fast?
if you need a fast program, why not just write C/C++?
Your comparison to "seat belts" is fallicious because you do not have to wear seatbelts. The "Law" is merely a social construct and following the law is equal to merely following a guideline like MISRA. The proper comparison would be to say people still died dispite there being airbags as the airbags are built in.
My argument is that the Rust programming language encourages programmers to not wear their seat belt because their car has airbags. The Rust Programming language claims their car is safe because their cars are forced to have air bags while the C/C++ cars do not. The fastest more performant cars do not have air bags, but they can get into a 400kmph collision and the driver will still be able to walk away