๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.arts.sf.written
Article #355

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

#355
From: Scott Dorsey
Date: Tue, 20 Oct 2026 20:41
43 lines
2736 bytes
Johann 'Myrkraverk' Oskarsson  <johann@myrkraverk.invalid> wrote:
>On 10/20/2026 9:39 PM, Scott Dorsey wrote:
>> Because I want my code to run fast!  I do very much seem to be in the
>> minority today, it is true.
>
>I presume you're working on some /hot code/, and will comment according-
>ly.

It's not super hot, but it's often pretty dense dsp stuff and requires
extensive commenting to describe exactly what equations are for and how
they are being used.

Unfortunately so much of the code I deal with has comments like

C      BRAINDAMAGE!  ROCKWELL-COLLINS BRAINDAMAGE!

Which are expressive and they are good warnings that something is about
to follow which has to do with hardware design deficiencies but not 
actually very informative about what they are.

>I've come across complaints -- that I don't have handy -- that compilers
>sometimes under-optimize, or otherwise cannot be told to do the right
>thing.  One memorable complaint was the inability of then-GCC to align
>a specific loop to the cache -- I believe a 16 byte boundary -- it was
>only everything -- with the resulting drop in performance everywhere
>else -- or nothing because there was no #pragma nor [[attribute]] to say
>/this loop needs to be cache aligned/.

There used to be a lot of complaints like that around here, but these
days gcc is so much better than it was even a decade ago.  The new 
gfortran is not perfect but it's entirely acceptable and takes advantage
of the good backend developed for gcc.  The older g77 was excruciating.
I'd read the .a files that came out and just want to hit my head on the
desk.

>What do you do in these circumstances?  Has this happened to you at all?

I go home and I have a drink and I try not to think about it.  Yes, it
could run a lot better but....
--scott

-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."
Technical Details
Message-ID: <11b8jm7$8a2$1@panix2.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.2602:f977:0:1::2!not-for-mail
References: <11amvre$15far$1@dont-email.me> <11b6vc4$2npqv$1@dont-email.me> <11b7qtk$cde$1@panix2.panix.com> <wlKBS.73568$0_s8.2091@fx09.ams4>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.2602:f977:0:1::2!not-for-mail
From: kludge@panix.com (Scott Dorsey)
Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
Subject: Re: Re: โ€œThe end of software secrecy is almost upon us"
Date: Tue, 20 Oct 2026 16:41:43 -0400 (EDT)
Organization: Former users of Netcom shell (1989-2000)
Message-ID: <11b8jm7$8a2$1@panix2.panix.com>
References: <11amvre$15far$1@dont-email.me> <11b6vc4$2npqv$1@dont-email.me> <11b7qtk$cde$1@panix2.panix.com> <wlKBS.73568$0_s8.2091@fx09.ams4>
Injection-Info: reader2.panix.com; posting-host="2602:f977:0:1::2";
	logging-data="29414"; mail-complaints-to="abuse@panix.com"