by groestl · 2y ago · 0 comments
They couldn't, because that compiler would need to solve the halting problem.
But with respect to this discussion the compiler does not need to solve the halting problem. It can assume the program always halts. It makes no difference if the program actually halts or not.