|
|
|
|
|
by ivanbakel
174 days ago
|
|
> There were certainly a lot of people running around claiming that "Rust eliminates the whole class of memory safety bugs." Safe Rust does do this. Dropping into unsafe Rust is the prerogative of the programmer who wants to take on the burden of preventing bugs themselves. Part of the technique of Rust programming is minimising the unsafe part so memory errors are eliminated as much as possible. If the kernel could be written in 100% safe Rust, then any memory error would be a compiler bug. |
|