logoalt Hacker News

gpderettayesterday at 9:31 AM2 repliesview on HN

The issue is that the list is infinite (anything not specified is UB), so actually removing any finite amount of UB from the list won't make it shorter.

(only slightly tongue-in-cheek, I do believe that removing silly things is worthwhile).


Replies

1718627440yesterday at 10:18 AM

The list of UB categories and rules is not infinite. The list of UB programs is, as is the list of all non UB programs.

show 1 reply
flohofwoeyesterday at 2:17 PM

The list of unspecified behaviour is infinite, but the list of undefined behaviour is well defined and finite ;)