Y
Hacker News
new
|
ask
|
show
|
jobs
by
1718627440
29 days ago
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.
1 comments
gpderetta
29 days ago
It is not obvious to me that the list of categories is not infinite (unless the final category is "everything else" of course)
link
1718627440
29 days ago
To be undefined behaviour, it must at least be valid syntax. The syntax is described in a finite document. Also it only gets executed by a finite machine, that has a finite number of finite descriptive documents.
link