News for hackers. Stuff that matters.
Re:UndefinedBehaviorSanitizer's Unexpected Behavior by pjmlp on Thursday October 17, 2024 @09:48AM (#41869646)
Doesn't matter how common, the feature is there, and although we aren't yet that far, might even differ across implementations.

Also trait inheritance exists, enforced via trait bounds, what Rust doesn't support is class inheritance.

Re:UndefinedBehaviorSanitizer's Unexpected Behavior by umanwizard on Thursday October 17, 2024 @10:09AM (#41869845)
> Doesn't matter how common

Yes it does, if your concern is “how often do I encounter code where I can’t predict or control what it actually does on the hardware”.

Re:UndefinedBehaviorSanitizer's Unexpected Behavior by pjmlp on Thursday October 17, 2024 @10:12AM (#41869865)
Any time there is a compiler implementation that has to provide support for translating such features into machine code.