You can also construct programs in Turing complete languages to always halt (e.g. by bounding the number of iterations of all loops, usually with the tradeoff of limited input size).
Isn't that overly restrictive? Some programs are guaranteed to terminate even with mutual recursion.
For example, these (obviously inefficient) functions always terminate for all values of x, since both terminate given an input of 0, and 0 is the minimum possible input to these functions.
eru|2 years ago
The_Colonel|2 years ago
trealira|2 years ago
For example, these (obviously inefficient) functions always terminate for all values of x, since both terminate given an input of 0, and 0 is the minimum possible input to these functions.
eru|2 years ago
Neither language is Turing complete.
zmgsabst|2 years ago