News for hackers. Stuff that matters.
Re:Idle Until Urgent by jcelerier on Thursday September 20, 2018 @11:57AM (#18033418)
I'll take C++ UB every day over this
Re:Idle Until Urgent by rictic on Thursday September 20, 2018 @02:28PM (#18034505)
Huh, I'm the opposite. I'd gladly take a confusing combination of consistent spec'd behavior over time travel, arbitrary code execution, and nasal demons.
Re:Idle Until Urgent by jcelerier on Friday September 21, 2018 @10:59AM (#18040164)
> I'd gladly take a confusing combination of consistent spec'd behavior over time travel, arbitrary code execution, and nasal demons.

the point of UB is that you can tell your compiler to transform it into a specific behaviour -e.g., an assert with -fsanitize=undefined for instance.

Re:Idle Until Urgent by marcosdumay on Thursday September 20, 2018 @05:38PM (#18035674)
Well, at least with a consistent spec you can create a compiler for a good language.

Somehow, undefined behavior in C is a much smaller problem than it looks like. But the principle still applies.