Re:C++26: Trivial infinite loops are no longer undefined beh...
by kibwen on Friday September 18, 2026 @11:37AM
(#49755952)
And unfortunately that argument would be incorrect, because not only is there a realistic chance of hitting this on embedded systems, the fact that LLVM baked this into its low-level semantics resulted in miscompilations in Rust for a time, where `loop {}` is a valid way to implement a diverging function: https://github.com/rust-lang/rust/issues/28728
[ Parent
| on HN ]
There are no comments on this comment yet.