Liste des Groupes | Revenir à theory |
On 7/10/2024 12:45 PM, Fred. Zwarts wrote:Irrelevant information.Op 10.jul.2024 om 17:03 schreef olcott:Every time any HHH correctly emulates DDD it calls thetypedef void (*ptr)();>
int HHH(ptr P);
>
void DDD()
{
HHH(DDD);
}
>
int main()
{
HHH(DDD);
}
Unneeded complexity. It is equivalent to:
>
int main()
{
return HHH(main);
}
>
x86utm operating system to create a separate process
context with its own memory virtual registers and stack,
thus each recursively emulated DDD is a different instance.
The instance of main() can't possibly halt HHH correctlyHHH cannot possibly simulate itself correctly. So, it aborts the simulation one cycle too soon. So, it aborts incorrectly.
aborts and rejects as non-halting. The entirely different
instance of main() that calls HHH only halts because HHH
was correct to abort its simulated instance.
Les messages affichés proviennent d'usenet.