2 ms·
>It has nothing to do with opting out. It does. The original code compiled because the borrow is computed using `unsafe`. That `unsafe` is the opt-out. >Zig,
by Arnavion 4y ago
>It has nothing to do with opting out.
It does. The original code compiled because the borrow is computed using `unsafe`. That `unsafe` is the opt-out.
>Zig, Rust and no language saves you when you write incorrect unsafe code. My original point is disqualifying c tools is misleading and everything suffers from incorrect unsafe code
And the other people's point is that if one language defaults to writing unsafe code and the other language requires opting out of safety to write unsafe code, then the second language has merit over the first.