๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #59

Re: โ€œThe end of software secrecy is almost upon us"

#59
From: Lynn McGuire
Date: Tue, 20 Oct 2026 20:20
64 lines
4537 bytes
On 10/20/2026 12:15 PM, Thomas Koenig wrote:
> Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
>> On 10/19/2026 5:57 PM, Scott Dorsey wrote:
>>> Lynn McGuire  <lynnmcguire5@gmail.com> wrote:
>>>> One of the things that I am enjoying is that F2C gets rid of about 75%
>>>> of the Fortran Gotos.  The remaining 25% Gotos usually make some sense.
>>>> Ok, a little sense that any C or C++ programmer would have never used a
>>>> goto there.
>>>
>>> It drives me up the wall when people use a goto to jump out of a do loop.
>>> The compiler is doing so much cleanup work that the programmer never sees.
> 
> I'd really like to know what that cleanup work is supposed to be (as
> somebody who is involved with Fortran compiler development).
> 
> I am beginning to suspect that Scott is the only person in the
> world who sees this supposed inefficiency.
> 
>>> --scott
>>
>> Why do you care about unseen work that the compiler is doing?  I
>> guarantee that most programmers in these 64 bit days do not care.
> 
> For very many problems, there is no need to be efficient - it very
> certainly does not matter if a program that is executed once takes
> 0.01 s or 0.1s.
> 
> But the attitude of not caring about speed can have grave results
> when the inefficiencies pile up.  People who use Python for
> everything may find that instead of 0.1 s, their code suddenly
> runs for hours, when it would need seconds in a compiled language.
> 
> Or look at the pile of resource-wasting junk like Microsoft
> Teams runnig on top of the pile of resource-wasting junk called
> Microsoft Windows.  Teams grabs a humungous amount of memory so 16
> GB is borderline unusable in a commercial enviroment.  Makes the
> recent memory price hike all the more interesting...
> 
> Don't know about your code, but I remember waiting a long time
> for Aspen simulations... but then again, those diverge from
> a converged solution, which shows that if Aspen has the first
> clue about numerical methods, they are very good at hiding it.
> 
> I just hope your software is better, at least in that respect.

Most of our convergence methods use Newton-Raphson, yes that Isaac 
Newton, to start, very quick to solve if it solves.  If that spirals out 
of control then we use the halving method, brute force and very slow. 
If that fails then we use an interpolation method, also very slow.  If 
that fails (the flash is infeasible), then we report the failure to the 
user.

Our rigorous four phase flash is the worst since it solves two sets of 
k-values simultaneously with a vapor-liquid-solid fugacity based solid 
flash.  The four phases are vapor, hydrocarbon liquid, aqueous liquid, 
and solid.  Almost 300,000 lines of Fortran 66/77 code that I am 
converting to C++.

And there are exceptions all over the place to the above since our 
software is Frankenstein consisting of the Design, Distill, Refine, and 
Gasplant Plus programs merged together.

Lynn
Technical Details
Message-ID: <11b8ieg$3bn6q$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>

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: Lynn McGuire <lynnmcguire5@gmail.com>
Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
Subject: Re: โ€œThe end of software secrecy is almost upon us"
Date: Tue, 20 Oct 2026 15:20:29 -0500
Organization: A noiseless patient Spider
Lines: 64
Message-ID: <11b8ieg$3bn6q$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 20 Oct 2026 20:20:32 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3529946"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/F3hkrGyO2eIwF1gmFRb/5c3FmAu4hGDg="; posting-host="38f747c5137ec96e1ef2660a65c5d327"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:h54La1QilJvrRwBPWfYrqdEyFMo= sha256:5YQJ/Wk8RnVikmow2JfoXBcDx4RIZCGNEA8aTADn/w8=
	sha1:RgprixsRmT7bCB21RHHc9x6WaDg= sha256:HWnuwKDcOtkMygFNF8pUBZgAMHmwnKj9faGcq+QbD7g=
Content-Language: en-US
In-Reply-To: <11b87jg$37b7t$1@dont-email.me>