Re:The biggest threat to Rust's sustainability
by pornel on Friday March 19, 2021 @06:11AM
(#26511692)
Use of uninitialized memory is Undefined Behavior. So in a sense, that code never worked properly, but authors didn't know about it until Rust caught it explicitly.
[ Parent
| on HN ]
Re:The biggest threat to Rust's sustainability
by lima on Friday March 19, 2021 @07:31AM
(#26512098)
Any observable behavior will be depended upon. A breaking change is a breaking change no matter what.
Of course it's good that they fixed the UB.
Re:The biggest threat to Rust's sustainability
by dralley on Friday March 19, 2021 @02:48PM
(#26516993)
It's undefined behavior. Anything can happen, by definition.
I understand what you're saying, but anyone who knowingly relies on undefined behavior deserves whatever pain they get, and anyone who didn't know they were relying on undefined behavior, needed to know about it.