Re:What it feels like when Rust saves your bacon
by nindalf on Friday June 24, 2022 @09:37AM
(#31861583)
It seems like it is true and accurate to say that Rust prevents “whole classes of bugs”. It is obvious that other bugs can still exist. Otherwise people would say Rust prevents “all bugs”.
Are you disappointed that Rust evangelists don’t spend time talking about the fact that bugs can exist in Rust programs? Did you see the two articles posted in the last week alone about bugs that were found in Rust code? They reached the front page of HN
- https://hacks.mozilla.org/2022/06/everything-is-broken-shipp...
- https://hacks.mozilla.org/2022/06/fuzzing-rust-minidump-for-...
If you want to see criticism of Rust, I’ve found that the most informed criticism comes from people who use Rust a lot. Example - https://matklad.github.io/2020/09/20/why-not-rust.html
Re:What it feels like when Rust saves your bacon
by tremon on Friday June 24, 2022 @06:52AM
(#31859963)
which mostly gloss over the fact that there are other classes of bugs that it doesn't prevent
That's nothing more than a technically-dressed version of whataboutism, isn't it? Or can you show other languages that do prevent those other unnamed classes of bugs?
Re:What it feels like when Rust saves your bacon
by rob74 on Friday June 24, 2022 @07:23AM
(#31860179)
Er... no. I was simply saying that the many articles about how reliable Rust is and how many bugs it catches for you might lead to a false sense of safety. Nothing more, nothing less.
Re:What it feels like when Rust saves your bacon
by supportlocal4h on Friday June 24, 2022 @09:24AM
(#31861389)
What's the use of standing on that anti-static mat and wearing that grounding strap? Can't you see there are fork lifts zipping around just right in the next room? That mat is giving you a false sense of security!
But yes, my point was that there are a lot of enthusiastic articles about how Rust can prevent "whole classes of bugs", which mostly gloss over the fact that there are other classes of bugs that it doesn't prevent. Of course this doesn't mislead experienced developers, but I'm not so sure about novices or less technically inclined people.