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
Reply on news.ycombinator.com