5 ms·
This is why it's more useful to talk about blame: http://blog.pnkfx.org/blog/2022/02/09/what-is-rusts-hole-purpose/ http://blog.pnkfx.org/blog/2022/02/09/what-i
by pcwalton 5y ago
This is why it's more useful to talk about blame: http://blog.pnkfx.org/blog/2022/02/09/what-is-rusts-hole-purpose/ http://blog.pnkfx.org/blog/2022/02/09/what-is-rusts-hole-pur...
Regarding memory safety, C++ says: "It's your fault if you get it wrong." Rust says: "It's our fault if we get it wrong in safe code." There is an enormous qualitative difference (in terms of ease of programming) and quantitative difference (in terms of number of bugs) between the two.
- pjmlp 5y agoSure, my point was that problems might still happen, and selling Rust as if they don't happen at all doesn't help for advocacy.
- kaba0 5y agoI really don’t think people advocate for Rust as it being capable of producing only correct programs. But in the niche it occupies it is objectively gives much higher safety guarantees than the previous generation of languages, much much more so than C, and somewhat more than C++.
- pjmlp 5y agoThey do, I started this thread because of "...making it difficult to shoot _anything_ besides the correct target with rust.", irked me. Lets advocate Rust yes, but not as it is flawless.