Sujet : Re: Halting Problem: What Constitutes Pathological Input
De : rjh (at) *nospam* cpax.org.uk (Richard Heathfield)
Groupes : comp.theoryDate : 08. May 2025, 06:22:57
Autres entêtes
Organisation : Fix this later
Message-ID : <vvhf3h$1hp80$4@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
User-Agent : Mozilla Thunderbird
On 08/05/2025 06:12, olcott wrote:
It is like you never heard of infinite recursion.
I'm sure he has.
On a computer, there's no such thing.
Oh, we can /describe/ such a thing:
foo(){foo();}
or, if you prefer:
void bar(void);foo(){bar();}bar(){foo();}
but it never gets more than a yard off the starting line before it breaks. On systems where function calls are facilitated by pushing return addresses onto a stack, the stack rapidly runs out of space, and a good OS will trip it up before Bad Things can happen.
If you think you have "an essentially infinite recursion relationship" you're only fooling yourself, nobody else.
-- Richard HeathfieldEmail: rjh at cpax dot org dot uk"Usenet is a strange place" - dmr 29 July 1999Sig line 4 vacant - apply within