A Turing Machine in the Classic Style
aturingmachine.com
aturingmachine.com
dash and pipe would have been much more evocative of 1-bit information, rather than persisting with this misleading "ones and zeroes" bullshit that has infected popular culture and tends to totally obscure the underlying concept.
I wonder how long it took to put together.
1) Cool! I want to clone it; baring time, I want to buy it.
2) Since I have neither time nor disposable income right now, I have some serious g33k envy.
3) Jay Walker's library should have this. (http://news.ycombinator.com/item?id=996939)
Well done, man.
Besides, memory and states in modern computers are finite too, and they're all Universal Turing machines.
A Universal Turing machine is one that can read programs from its own tape.
Infinite tapes are necessary for the halting problem, to allow programs to run infintely on infinite memory.
Turing Completeness is when the machine is proven to be equivalent to a Turing Machine, i.e. it can be programmed to solve any algorithmical problem.
It is possible to invent a single machine which can be used
to compute any computable sequence. If this machine I is
supplied with a tape on the beginning of which is written the
S.D of some computing machine M, {242} then I will compute
the same sequence as M.
(Alan Turing, 1936, On Computable Numbers, With An Application To The Entscheidungsproblem)So it is no merely that the Universal Machine can read and execute programs, it is that it can read and executes programs to make itself equivalent to ANY other turing machine. Thus the Universal Turing machine is Turing Complete. As the amount of tape required to solve all computable programs is unbounded the Universal Turing machine must have an infinitely long tape.
It's usually worth going straight to the source where you can in CS, but much more so with Turing as his papers are so nice and easy to read :)
the tape only has to be $steps long, for $steps steps of computation, because that's the longest distance the head can travel at all.
any program that eventually halts, has a finite number of steps, so the band can be finite.
the only thing that requires an infinite band, is a non-halting program. and non-halting programs (unlike real-world servers and OSes) don't have a result as defined by the turing machine concept.
Sure, that's the only type of program that would use the whole tape, but given any tape of finite length, there's a (program, input) pair that needs a longer tape.
A very nice description of Turing machines, Abacus machines and in introduction to recursive functions can be found in the book "Computability and Logic" by Boolos, Burgess and Jeffrey.
Does anybody know what this principle is called?
How can we formalize this notion of effective computability? On possible formalization is the notion of a Turing computable function, that means a function that can be computed by a Turing machine. One can show that addition, multiplication and many other functions can be computed by a Turing machine.
Now it is clear that every Turing computable function is effectively computable (just use pen and paper and write down what the Turing machine is doing).
The other direction is known as Church's Thesis (named after Alonzo Church) or Church-Turing-Thesis: every effectively computable function is Turing computable.
The thesis can not be proved, since "effectively computable" is an intuitive notion.
Two other formalizations of the notion of effectively computable are abacus computability (similar to Turing machines) and recursive functions. One can show that all these notions are equivalent.