this post was submitted on 27 Sep 2024
244 points (98.0% liked)

Rust

5930 readers
36 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 1 month ago (2 children)

nobody cared to teach the new devs, memory safety and the devs didn’t care to learn it themselves even as they became senior devs.

It does not matter how much you teach, humans are not perfect. The industry changes all the time, everyone updates libraries, systems change, editing others code is not as easy to understand, and so on. There is a reason why Microsoft, Google and Linux have experts in their fields for decades and yet these mistakes happen.

And it makes sense why using Rust would reduce memory vulnerabilities. Because the language has features in place to either prevent or make those mistakes more difficult to happen. If you understand what Rust offers, then its not science to understand why. Google is not the first and only big company reporting this either.

[–] LeFantome 6 points 1 month ago (1 children)

It has been a couple of years now and the response to these articles is always the same. The person making the comment cannot accept that they produce code with bugs. So the problem has to be that the people being measured in the article must not know what they are doing.

Look at the source of these articles though. We are being asked to believe that the code in Android, Windows, AI frameworks, and databases are all being pumped out by junior devs. It is not that Rust results in fewer bugs than C++ generally, it is that Google engineers have not been properly trained or motivated.

I mean, the denial is Sith level strong in these people.

[–] [email protected] -5 points 1 month ago

It is not that Rust results in fewer bugs than C++ generally, it is that Google engineers have not been properly trained or motivated.

Why can't you believe that "these people" believe in both?
Though the "trained" part doesn't make as much sense as the "motivated" part.