r/ProgrammerHumor • u/themightydud • Oct 26 '21
GitHub Copilot, the technology that will replace programmers. Also GitHub Copilot...
27k
Upvotes
r/ProgrammerHumor • u/themightydud • Oct 26 '21
View all comments
Show parent comment
2
u/arvyy Oct 26 '21
Finite automata has finite number of states, just like your computer with finite memory has finite number of that memory possible states. You transition from one state to another using input of time; time only flows forward and just like automata also flows forward.
The point is this
so you have a computer, which has while(true) encoded in its memory somewhere. With our input of time, that computer arrives to same memory state, ie repeats. Therefore we can tell it's non-halting.
the recursion is already processed by means of hardcoding it all into states and transitions. And we can get away with this hardcoding, because we only have finite memory to deal with