🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.theory
Article #978

Re: Why I post to the C / C++ groups (not Olcott)

#978
From: Ross Finlayson
Date: Sun, 01 Nov 2026 19:30
120 lines
5757 bytes
On 11/01/2026 10:53 AM, olcott wrote:
> On 11/1/2026 11:59 AM, dbush wrote:
>> On 11/1/2026 12:44 PM, olcott wrote:
>>> On 11/1/2026 9:09 AM, dbush wrote:
>>>> On 11/1/2026 9:50 AM, olcott wrote:
>>>>> On 11/1/2026 8:01 AM, dbush wrote:
>>>>>> On 11/1/2026 8:35 AM, olcott wrote:
>>>>>>> typedef int (*ptr)();
>>>>>>> int HHH(ptr P);
>>>>>>>
>>>>>>> 01 int DD()
>>>>>>> 02 {
>>>>>>> 03   int Halt_Status = HHH(DD);
>>>>>>> 04   if (Halt_Status)
>>>>>>> 05     HERE: goto HERE;
>>>>>>> 06   return Halt_Status;
>>>>>>> 07 }
>>>>>>> 08
>>>>>>> 09 void main()
>>>>>>> 10 {
>>>>>>> 11  HHH(DD);
>>>>>>> 12 }
>>>>>>>
>>>>>>> The C / C++ groups are the only people in the
>>>>>>> world that did not flat out lie about this question:
>>>>>>>
>>>>>>> Does DD simulated by HHH ever reach its own "return"
>>>>>>> statement while DD is being simulated by HHH?
>>>>>>>
>>>>>>>
>>>>>> The above statement is unclear as "DD" and "HHH" could be
>>>>>> referring to:
>>>>>>
>>>>>> * an algorithm, i.e. a fixed immutable sequence of instructions
>>>>>> that always generates the same output for a given input.
>>>>>> * a C function, i.e. a named address that can contain any
>>>>>> arbitrary set of instructions in sequence
>>>>>> * a finite string, i.e. a 32-bit function pointer which is the
>>>>>> starting address of a C function.
>>>>>>
>>>>>> So please clarify whether each use of "HHH" and "DD" in the above
>>>>>> sentence refers to an algorithm, a C function, or a finite string.
>>>>>>
>>>>>
>>>>> DD is to be construed as a finite string of C source
>>>>> code of a C function. HHH is to be construed as a C
>>>>> interpreter that simulates C source code. HHH can
>>>>> simulate itself simulating DD if needed.
>>>>
>>>> So would the following be correct?
>>>>
>>>>
>>>> Does C function DD simulated by C function HHH ever reach its own
>>>> "return" statement while C function DD is being simulated by C
>>>> function HHH?
>>>>
>>>
>>> Yes that seems correct.
>>>
>>> Does C function DD simulated by C function
>>> HHH ever reach its own [SIMULATED] "return" statement
>>> while C function DD is being simulated by
>>> C function HHH?
>>>
>>> Does there exist a finite number of N simulations
>>> such that DD simulated by HHH reaches its own
>>> simulated "return" statement while DD is being
>>> simulated by HHH?
>>
>> Let apply the same to the above, with a few more clarifications:
>>
>>  > Does there exist a finite number of N simulations that C function HHH
>>  > can be modified to perform such that C function DD simulated by C
>> function HHH reaches its own
>>  > simulated "return" statement while C function DD is being
>>  > simulated by C function HHH?
>>
>> Yes?
>>
>
> There does not exist any HHH that simulates DD according
> to the operational semantics of the C programming language
> such that the simulated DD reaches its own simulated
> return statement in any N finite number of simulations.
>
>>>
>>>>>
>>>>>> To make the request for clarification more explicit:
>>>>>>
>>>>>>  > Does [algorithm|C function|finite string] DD simulated by
>>>>>> [algorithm| C function|finite string] HHH ever reach its own "return"
>>>>>>  > statement while [algorithm|C function|finite string] DD is
>>>>>> being simulated by [algorithm|C function|finite string] HHH?
>>>>>>
>>>>>> For each instance of "[algorithm|C function|finite string]" above,
>>>>>> pick one and give the resulting sentence.
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>

That's idiocy when there sits under that function pointer a block
of memory full of instructions that according to otherwise the
content of registers and the machine and resource model and
the instruction set architecture what results a _closed_ model
of computation, that "static analysis" and "dynamic analysis"
are simple after code understanding.

"The semantics of the C runtime" include that there's an actual
implementation, then whether it's Harvard or von Neuman the
program memory, and whether it's simply readable, is a fact
that already outside the box, that is the box.

Shut Up

Technical Details
Message-ID: <mNacnQ3av4wVDnr3nZ2dnZfqn_qdnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nrbbs.org!border-3.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <11c7f6i$20cva$1@dont-email.me> <11c7gop$20vs2$1@dont-email.me> <11c7jj0$222c0$1@dont-email.me> <11c7knn$22f40$1@dont-email.me> <11c7tpd$2644j$1@dont-email.me> <11c7umo$26ffh$1@dont-email.me> <11c81qd$27klt$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nrbbs.org!border-3.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 01 Nov 2026 19:31:20 +0000
Subject: Re: Why I post to the C / C++ groups (not Olcott)
Newsgroups: comp.theory
References: <11c7f6i$20cva$1@dont-email.me> <11c7gop$20vs2$1@dont-email.me>
 <11c7jj0$222c0$1@dont-email.me> <11c7knn$22f40$1@dont-email.me>
 <11c7tpd$2644j$1@dont-email.me> <11c7umo$26ffh$1@dont-email.me>
 <11c81qd$27klt$1@dont-email.me>
From: Ross Finlayson <ross.a.finlayson@gmail.com>
Date: Sun, 1 Nov 2026 11:30:51 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <11c81qd$27klt$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <mNacnQ3av4wVDnr3nZ2dnZfqn_qdnZ2d@giganews.com>
Lines: 120
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-L3mNSJYRykBIH/NgAEFeDhhAxT0mclC17jKcLAcgvdgb4WIx2botEx/DIGxszh0NJBJW1i5sqzCmEM1!btRSh2FFtD4aB0aozACaPM2HtOREx5yj5TQjYbiBVZFDipvNFlbmtD8QE5mlR4zg3kWtECjcj80=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40