4 ms·
>Whats being done to address those issues? Moving to rust to limit the scope of possible bugs.
by foobar33333 5y ago
>Whats being done to address those issues?
Moving to rust to limit the scope of possible bugs.
- metalliqaz 5y agothis is a dangerous understanding of Rust. Rust helps to avoid certain kinds of bugs in certain situations. Bugs are very much possible in Rust and the scope of bugs usually depends more on the system than the language used to write it.
- virgilp 5y agoI get where you're coming from, but I disagree. They actually prey on seemingly small changes that have large "unintended"/non-obvious side-effects. I argue that finding such situations is much much harder in Rust than in C. Is it impossible? Probably not (especially not in unsafe code), but I do believe it limits the attack surface quite a lot. Rust is not a definitive solution, but it can be a (big) part of the solution.
- metalliqaz 5y agoyes it definitely limits the attack surface. remember that in systems programming there are bugs that cause errors in computation, which Rust is pretty good at protecting; but there are also bugs which cause unintended behaviors, usually from incorrect or incomplete requirements, or implementation edge cases.
- deleted 5y ago[deleted]