4 ms·
Would you write it? You can use the same compiler with a language whose design committee isn't deliberately user hostile, like Rust (where UB-like behaviors in
by pygy_ 4y ago
Would you write it?
You can use the same compiler with a language whose design committee isn't deliberately user hostile, like Rust (where UB-like behaviors in safe code are considered soundness bugs).
https://runrust.miraheze.org/wiki/Undefined_Behavior https://runrust.miraheze.org/wiki/Undefined_Behavior
- saagarjha 4y agoRust makes guarantees for safe code that undefined behavior would violate. C(++) has no such mode and as such a comparison cannot be made.