Re:“Rust is safe” is not some kind of absolute guarantee of ...
by geraneum on Sunday October 02, 2022 @04:03PM
(#33059642)
> Rust is arguably less safe in that aspect than C, due to the general Rust practice of panicking upon unexpected conditions
For clarification, I responded to this in particular because "safety" is being conflated with "panicking" (bad for kernel). I reckoned "Unexpected conditions" means "arbitrary programs", hence my response, otherwise you could just remove the call to panic.
For clarification, I responded to this in particular because "safety" is being conflated with "panicking" (bad for kernel). I reckoned "Unexpected conditions" means "arbitrary programs", hence my response, otherwise you could just remove the call to panic.