News for hackers. Stuff that matters.
Re:C++26: Trivial infinite loops are no longer undefined beh... by bluGill on Friday September 18, 2026 @03:47PM (#49759266)
If the CPU halts it isn't used at all. If the CPU does an infinite loop then it all goes to heat.

If the loop is doing anything then it cannot be optimized away. Only loops with no side effects meaning they are just turning the CPU into a heater count.

There are no comments on this comment yet.