News for hackers. Stuff that matters.
Re:A Working Turing Machine Hits Lego Ideas by jagged-chisel on Tuesday October 08, 2024 @04:33PM (#41781579)
My computer has a finite state space, but I can still write programs where termination is not decidable.
Re:A Working Turing Machine Hits Lego Ideas by arjvik on Tuesday October 08, 2024 @04:43PM (#41781650)
Termination is decidable, it's just that the finite program which decides if it terminates would take unfeasibly long to run.
Re:A Working Turing Machine Hits Lego Ideas by Jerrrrrrry on Tuesday October 08, 2024 @07:22PM (#41782835)
Anyone can write a program to factor numbers into their factors.

Just start at 1, and iterate until sqrt(x).

Whats the big deal?

Re:A Working Turing Machine Hits Lego Ideas by PhasmaFelis on Tuesday October 08, 2024 @05:24PM (#41781964)
Can you? It's been a long time since I studied Turing machines, but if a machine returns to an exact previous full state (of both the machine and the tape), then we know it will not terminate but loop forever; and a machine with a finite tape must return to a previous state in finite time if it doesn't terminate first. So a finite state machine will either terminate or begin to loop in finite time.