๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++
Article #83

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

#83
From: Johann 'Myrkraverk' Oskarsson
Date: Tue, 20 Oct 2026 13:51
37 lines
3018 bytes
On 10/20/2026 9:39 PM, Scott Dorsey wrote:
> Lynn McGuire  <lynnmcguire5@gmail.com> wrote:
>> 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.
>>
>> 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.
> 
> Because I want my code to run fast!  I do very much seem to be in the
> minority today, it is true.
> --scott

I presume you're working on some /hot code/, and will comment according-
ly.

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/.


What do you do in these circumstances?  Has this happened to you at all?
-- 
Johann | email: invalid -> com | http://www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | via Easynews.com
https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:;
Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Technical Details
Message-ID: <wlKBS.73568$0_s8.2091@fx09.ams4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer04.iad!feed-me.highwinds-media.com!peer05.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx09.ams4.POSTED!not-for-mail
References: <11amvre$15far$1@dont-email.me> <11b64hj$2faos$1@dont-email.me> <11b679m$6dl$1@panix2.panix.com> <11b6vc4$2npqv$1@dont-email.me> <11b7qtk$cde$1@panix2.panix.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer04.iad!feed-me.highwinds-media.com!peer05.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx09.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: โ€œThe end of software secrecy is almost upon us"
Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
References: <11amvre$15far$1@dont-email.me> <11b64hj$2faos$1@dont-email.me>
 <11b679m$6dl$1@panix2.panix.com> <11b6vc4$2npqv$1@dont-email.me>
 <11b7qtk$cde$1@panix2.panix.com>
Content-Language: en-US
From: Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid>
Organization: Watcom Pro Ltd.
In-Reply-To: <11b7qtk$cde$1@panix2.panix.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 37
Message-ID: <wlKBS.73568$0_s8.2091@fx09.ams4>
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Tue, 20 Oct 2026 21:51:22 +0800
X-Received-Bytes: 2874