Comment by tialaramex
Comment by tialaramex 2 days ago
> Rust has a weaker definition if you consider that you can use `unsafe`
I don't see it. Rust makes the same guarantees regardless of the unsafe keyword. The difference is only that with the unsafe keyword you the programmer are responsible for upholding those guarantees whereas the compiler can check safe Rust.
C is safe by the same logic, then? You can write safe code in anything if you don’t make mistakes.