4 ms·
> Well how much of those kernel-level drivers we rely upon ARE written in a memory unsafe language ??? Like 99% ? And we are not crashing and dying every day?
by techbrovanguard 2y ago
> Well how much of those kernel-level drivers we rely upon ARE written in a memory unsafe language ??? Like 99% ? And we are not crashing and dying every day?
we shouldn't discount the consequences of memory safety vulnerabilities just because flights haven't physically been grounded.
> Also, quite frankly, if your unwrap() makes your program terminate because an array out of bounds isn't that exactly the same thing ? (program terminates)
this is a strawman, if you were writing a kernel-level driver in rust you'd configure the linter to deny code which can cause panics.
here's a subset:
- https://rust-lang.github.io/rust-clippy/master/index.html#/unwrap_used https://rust-lang.github.io/rust-clippy/master/index.html#/u...
- https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing https://rust-lang.github.io/rust-clippy/master/index.html#in...