4 ms·
From what I've seen, it was a NULL pointer dereferencing. Dynamic, not static, so still requires diligence even in Rust. RE: panic default, don't get fooled by
by pdimitar 2y ago
From what I've seen, it was a NULL pointer dereferencing. Dynamic, not static, so still requires diligence even in Rust.
RE: panic default, don't get fooled by hobby projects, professional Rust code always does pattern matching and does not defer to panics.
The "software that doesn't exist" point is somewhat valid, though it's also the chicken and the egg problem, as in that not many people are working to make it happen because the current state of affairs is wrongly deemed as good enough. And it really is not.
- jmull 2y ago> RE: panic default, don't get fooled by hobby projects, professional Rust code always does pattern matching and does not defer to panics. That's a "programmers who know what they're doing don't make that mistake" argument. If that were tenable there'd be no need for rust in the first place.
- pdimitar 2y agoYeah I don't disagree, you do have a point. But this is easier to scan for compared to all the potential memory unsafeties in C/C++. It's an improvement.