Rust lobbyists winning
This kind of makes me want to write code in C out of spite.
Skill issue. Just write better code
I hope you’re joking. This mindset has had terrible consequences, such macho bullshit needs to go.
The Zionazis will find your mistakes before you do. So have the computer check your work as much as possible.
I am mostly joking but rust is quite annoying and is only useful in very specific circumstances. I’m not against encouraging people to use better designed languages than C though
If you’re looking to write the types of server daemons often written in C, Go is another good choice. It’s very C-like in its syntax. It has a lot of the same safety features Rust has but isn’t nearly as complex to learn. It also has a huge standard library, so you rarely need to rely on third-party code.
Go isn’t too suitable for drivers or kernels or other kinds of system software though. Rust is definitely a better choice for those.
rust is quite annoying
skill issue
and is only useful in very specific circumstances
huh? about the only place I can’t use rust is on microcontrollers, and it’s kind of a pain in the dick on mobile (just use kotlin lol)
“And where did that bring you? Back to me.”
- COBOL
I recommend CISA and FBI blow me
Which do you think happened?
-
Honest appraisal of C++ security problems
-
They figured out some security hole in C++ programs that makes them even worse than we thought
-
Some contractor bribed them to say this so that they can get contracts porting stuff to Rust
-
Some contractor dug up new legitimate security holes in C++ programs so they can convince the FBI to say this so they can get contracts porting stuff to Rust
-
High ranking FBI officials are rust fanboys
I think contractor bribes, but I think that last two are fun.
Thank god President Trump will revert everything to C, none of this woke stuff, Make Software Spaghetti Again!
It’s just the obvious thing. C and C++ don’t have safeguards against dangerous programming mistakes. Programming languages exist that do. There are to this day still software vulnerabilities being caused by subtly incorrect code that C and C++ require being treated as legitimate.
C and C++ don’t have safeguards against dangerous programming mistakes.
This is not really true for modern C++… and if you’re talking about code bases that use an ancient dialect of C++ where it might be true, the fantasy of even having the option of porting to Rust is actually pretty laughable. C will continue to be necessary for many critical things because there simply isn’t sufficient compiler support coverage for Rust to take the throne.
The difference here is that it takes discipline and training to use only those parts of C++. That requires humans in the loop to enforce those decisions. Humans are fallible.
If you make it impossible at the language level then there’s nothing to train. You just can’t do the thing unintentionally.
And they didn’t specify Rust; the aerospace industry has been using Ada for decades when it comes to mission critical stuff. Ada’s compiler has long had a similar notoriety to rust’s regarding the difficulty curve.