News for hackers. Stuff that matters.
Re:The biggest threat to Rust's sustainability by edflsafoiewq on Friday March 19, 2021 @05:55AM (#26511592)
I know this one hit quite a few people: https://github.com/rust-windowing/winit/issues/1773. Compiles on new rustc but panics at runtime. API churn also made upgrading to a new winit painful.
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.
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.