3 ms·
Your plan is to replace all the software written in C/C++ with... software that doesn't exist. It's good to criticize the current state of things, but don't pr
by jmull 2y ago
Your plan is to replace all the software written in C/C++ with... software that doesn't exist.
It's good to criticize the current state of things, but don't pretend you have a solution.
Also, do we know if rust would have helped here? Rust doesn't guarantee no crashes -- in fact, panicking (aka crashing) is the default.
- pdimitar 2y agoFrom 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.