🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #513

Re: “The end of software secrecy is almost upon

#513
From: Steven G. Kargl
Date: Thu, 22 Oct 2026 01:16
46 lines
3299 bytes
On Thu, 22 Oct 2026 00:24:48 -0000 (UTC), Lawrence D’Oliveiro wrote:

> On Wed, 21 Oct 2026 13:27:48 -0000 (UTC), Thomas Koenig wrote:
> 
>> Lawrence D’Oliveiro <ldo@nz.invalid> schrieb:
>>>
>>> On Wed, 21 Oct 2026 07:42:30 -0000 (UTC), boltar wrote:
>>>
>>>> On Wed, 21 Oct 2026 01:29:18 -0000 (UTC), Lawrence D’Oliveiro wrote:
>>>>>
>>>>> On Tue, 20 Oct 2026 17:24:27 -0000 (UTC), boltar wrote:
>>>>>
>>>>>> ** The setting a flag method which has to be checked in every
>>>>>>    nested loop test is just an [asinine] way to code.
>>>>>
>>>>> If you have to do cleanup at each level before exiting, then it
>>>>> works perfectly well.
>>>>
>>>> It may well work but it doesn't make it good. Its harder to follow
>>>> - whereas a goto out of a deeply nested loops is blindingly
>>>> obvious - and its less efficient.
>>>
>>> The goto from the deep inner block to the outer one is “blindingly
>>> obvious” ... ly wrong.
>>>
>>> What about the cleanup?
>>
>> What cleanup, exactly?  We are talking Fortran, remember.
> 
> The principle applies to Fortran as it does to any language where you
> have to explicitly manage storage allocations.

Fortran 77 does not have dynamic memory allocation.  So, again,
how *exactly* does using GOTO to break out of a Fortran 77 do
loop require cleanup?  With Fortran 90 (or newer version), even
if one using some dynamic memory allocation, what is the cleanup
you envision that is required if one break out of a do-loop with
GOTO?

PS: Both Thomas and I have made substantial code contributions to 
gfortran, so we must be missing something crucial.

PPS: trimmed newsgroups to only c.l.f.

-- 
steve
Technical Details
Message-ID: <11bbo58$ek3q$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me> <11b679m$6dl$1@panix2.panix.com> <11b6vc4$2npqv$1@dont-email.me> <11b87jg$37b7t$1@dont-email.me> <11b884b$p2o9$1@dont-email.me> <11b94he$3hdo3$2@dont-email.me> <11b9qd6$pq4i$1@dont-email.me> <11b9r5r$3nppf$1@dont-email.me> <11baekk$3v7n1$1@dont-email.me> <11bbl4f$du80$2@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!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: "Steven G. Kargl" <sgk@REMOVEtroutmask.apl.washington.edu>
Newsgroups: comp.lang.fortran
Subject: Re: “The end of software secrecy is almost upon
Date: Thu, 22 Oct 2026 01:16:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <11bbo58$ek3q$1@dont-email.me>
References: <11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me>
	<11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me>
	<11b679m$6dl$1@panix2.panix.com> <11b6vc4$2npqv$1@dont-email.me>
	<11b87jg$37b7t$1@dont-email.me> <11b884b$p2o9$1@dont-email.me>
	<11b94he$3hdo3$2@dont-email.me> <11b9qd6$pq4i$1@dont-email.me>
	<11b9r5r$3nppf$1@dont-email.me> <11baekk$3v7n1$1@dont-email.me>
	<11bbl4f$du80$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Oct 2026 01:16:25 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="479354"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19YpSsiPG1dBTg0BvbJ8cVe"; posting-host="514a61cf29d3a2954ea16debb35119cd"
User-Agent: Pan/0.164 (Kupiansk)
Cancel-Lock: sha1:5DZLqck9I5glitEalItRQyzDUD8= sha256:4qQ2E6rfAPZm5GJNRr9DSkpHnwCW+WO9OCImnqiUrfA=
	sha1:bcsA/cLw2Mr171KfoSArsq9e94Y= sha256:I5tMrfUhFAE3lxxtijAlzXqRy4neWo0TBqJxdwfs/xk=