Deutsch   English   Français   Italiano  
<vodflm$1ar05$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.lang.c
Subject: Re: Two questions on arrays with size defined by variables
Date: Mon, 10 Feb 2025 19:14:13 +0100
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <vodflm$1ar05$1@dont-email.me>
References: <vo9mns$gsd7$1@dont-email.me> <vo9nn3$gtph$1@dont-email.me>
 <vo9u0u$i0n8$1@dont-email.me> <voae3a$2rke4$1@paganini.bofh.team>
 <voao29$o6uh$2@dont-email.me> <87bjvar83h.fsf@nosuchdomain.example.com>
 <vobna3$tmev$1@dont-email.me> <voc68c$13fkt$1@dont-email.me>
 <87cyfqpa55.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 10 Feb 2025 19:14:15 +0100 (CET)
Injection-Info: dont-email.me; posting-host="0b8074d8a86be4d46d9273c2d14c6e68";
	logging-data="1403909"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18stOh6+fzVgHkwTOxyzw+8"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
Cancel-Lock: sha1:vMPWYwWjhJ47u2cvmyJ9RQ7wZAY=
In-Reply-To: <87cyfqpa55.fsf@nosuchdomain.example.com>
X-Enigmail-Draft-Status: N1110
Bytes: 2322

On 10.02.2025 07:49, Keith Thompson wrote:
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
>> [ Simula / Cim stuff snipped ]
> 
> [...]
> 
> But a VLA object's lifetime begins, not when execution reaches the
> opening "{", but when it reaches the object definition.

Yes, I assumed so [for "C")´].

My explanations were meant only for the Algol 60 and Simula rationale.
(But mind, that the whole thing of mentioning these other languages
was anyway only a side-track after someone mentioned Pascal and PL/I.
It was to understand what semantics are possible in principle. None
of these language have any relevance for how "C" handles VLAs.)

The solution was already formulated elsethread long ago. And all the
rest of this thread was the CLC-typical OT spin-offs. - So I'm fine
with the insights on the topic. And I'm (slightly amused) following
and participating in the rest of the discussions. :-)

Janis