2 ms·
> ... because computers aren't Turing machines and have finite memory, so all programs are guaranteed to halt. Is this simply wrong or am I not understanding?
by ks2048 2y ago
> ... because computers aren't Turing machines and have finite memory, so all programs are guaranteed to halt.
Is this simply wrong or am I not understanding? With finite memory, the halting problem is solvable, but that's different than all programs halt.
while True:
pass
The program doesn't halt even with finite memory. Unless he means eventually the world will end, or the power supply will die, etc.
> If the halting problem was solvable, then anyone with a computer could prove Goldbach's conjecture in an afternoon.
Why does he say "in an afternoon"? Maybe it would take 10^100 years? The halting problem be solvable or unsolvable is not a question of complexity or efficiency.
- anyfoo 2y agoYeah, I stumbled over that too. I think they meant to say any “interesting” program would halt. Programs that don’t halt will repeat state (in your example there isn’t even any state, so it’s trivially always the same), and the article wants to look at programs where we run out of state (and also describes why it isn’t interesting to halt when hitting the state size limit).