Re: OT: Programming Languages

Liste des GroupesRevenir à se design 
Sujet : Re: OT: Programming Languages
De : dennis (at) *nospam* none.none (Dennis)
Groupes : sci.electronics.design
Date : 02. Nov 2024, 23:27:46
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vg6912$3vsuf$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
On 11/2/24 15:48, Don Y wrote:
On 11/2/2024 11:01 AM, Martin Brown wrote:
Most compilers these days are smart enough to move loop invariants outside of a loop and then dispose of the loop. You must have side effects in any code that you want to benchmark. Optimisers can be *really* smart about rearranging code for maximum performance by avoiding pipeline stalls. Only the very best humans can match them now.
 You need a few more asterisks stressing "really"!  What's most amusing
is how the folks who write "clever"/obscure code fragments THINKING they
are "optimizing" it just annoy the compiler.  On any substantial piece
of code, "you" simply can't outperform it.  Your mind gets tired.  You
make mistakes.  The compiler just plows ahead.  EVERY TIME IT IS INVOKED!
 
Over a decade ago I hand optimized some vector code on the CELL processor. I then compiled some C++ code doing the same operations in nested loops with vector optimization turned on. The compiler was faster by a cycle when they found a load that could be done in parallel that I had missed.
I didn't bother doing assembler code after that.

Date Sujet#  Auteur
1 Nov 24 * OT: Programming Languages77Cursitor Doom
1 Nov 24 +* Re: OT: Programming Languages3Liz Tuddenham
2 Nov 24 i`* Re: OT: Programming Languages2Don Y
2 Nov 24 i `- Re: OT: Programming Languages1Don Y
1 Nov 24 +- Re: OT: Programming Languages1john larkin
1 Nov 24 +* Re: OT: Programming Languages40Jeroen Belleman
2 Nov 24 i`* Re: OT: Programming Languages39Nick Hayward
2 Nov 24 i +* Re: OT: Programming Languages12Don Y
2 Nov 24 i i`* Re: OT: Programming Languages11john larkin
2 Nov 24 i i +* Re: OT: Programming Languages5Joe Gwinn
2 Nov 24 i i i+* Re: OT: Programming Languages3Don Y
2 Nov 24 i i ii`* Re: OT: Programming Languages2Joe Gwinn
2 Nov 24 i i ii `- Re: OT: Programming Languages1Don Y
2 Nov 24 i i i`- Re: OT: Programming Languages1john larkin
2 Nov 24 i i `* Re: OT: Programming Languages5Martin Brown
2 Nov 24 i i  +- Re: OT: Programming Languages1john larkin
2 Nov 24 i i  `* Re: OT: Programming Languages3Don Y
3 Nov 24 i i   `* Re: OT: Programming Languages2Dennis
3 Nov 24 i i    `- Re: OT: Programming Languages1Don Y
2 Nov 24 i +- Re: OT: Programming Languages1Jeroen Belleman
2 Nov 24 i `* Re: OT: Programming Languages25Jan Panteltje
2 Nov 24 i  +* Re: OT: Programming Languages16Cursitor Doom
3 Nov 24 i  i`* Re: OT: Programming Languages15Bill Sloman
3 Nov 24 i  i `* Re: OT: Programming Languages14Cursitor Doom
3 Nov 24 i  i  +- Re: OT: Programming Languages1Bill Sloman
3 Nov 24 i  i  `* Re: OT: Programming Languages12john larkin
3 Nov 24 i  i   +* Re: OT: Programming Languages10Cursitor Doom
3 Nov 24 i  i   i`* Re: OT: Programming Languages9john larkin
3 Nov 24 i  i   i `* Re: OT: Programming Languages8Cursitor Doom
3 Nov 24 i  i   i  `* Re: OT: Programming Languages7john larkin
4 Nov 24 i  i   i   `* Re: OT: Programming Languages6Bill Sloman
4 Nov 24 i  i   i    `* Re: OT: Programming Languages5Cursitor Doom
4 Nov 24 i  i   i     +- Re: OT: Programming Languages1Bill Sloman
4 Nov 24 i  i   i     `* Re: OT: Programming Languages3john larkin
5 Nov 24 i  i   i      `* Re: OT: Programming Languages2Cursitor Doom
5 Nov 24 i  i   i       `- Re: OT: Programming Languages1Bill Sloman
4 Nov 24 i  i   `- Re: OT: Programming Languages1Bill Sloman
2 Nov 24 i  `* Re: OT: Programming Languages8john larkin
2 Nov 24 i   +* Re: OT: Programming Languages3Edward Rawde
2 Nov 24 i   i`* Re: OT: Programming Languages2john larkin
2 Nov 24 i   i `- Re: OT: Programming Languages1Edward Rawde
2 Nov 24 i   +- Re: OT: Programming Languages1Jan Panteltje
2 Nov 24 i   +- Re: OT: Programming Languages1Jeroen Belleman
2 Nov 24 i   `* Re: OT: Programming Languages2Jeroen Belleman
2 Nov 24 i    `- Re: OT: Programming Languages1Don Y
2 Nov 24 +* Re: Programming Languages16Edward Rawde
2 Nov 24 i`* Re: Programming Languages15Bill Sloman
2 Nov 24 i `* Re: Programming Languages14Edward Rawde
2 Nov 24 i  +* Re: Programming Languages12Cursitor Doom
2 Nov 24 i  i+* Re: Programming Languages6Edward Rawde
2 Nov 24 i  ii`* Re: Programming Languages5Cursitor Doom
2 Nov 24 i  ii +* Re: Programming Languages2Edward Rawde
2 Nov 24 i  ii i`- Re: Programming Languages1Cursitor Doom
3 Nov 24 i  ii `* Re: Programming Languages2Bill Sloman
3 Nov 24 i  ii  `- Re: Programming Languages1Cursitor Doom
3 Nov 24 i  i`* Re: Programming Languages5Bill Sloman
3 Nov 24 i  i `* Re: Programming Languages4Cursitor Doom
3 Nov 24 i  i  `* Re: Programming Languages3Bill Sloman
3 Nov 24 i  i   `* Re: Programming Languages2Cursitor Doom
3 Nov 24 i  i    `- Re: Programming Languages1Bill Sloman
3 Nov 24 i  `- Re: Programming Languages1Bill Sloman
2 Nov 24 +* Re: OT: Programming Languages12Jan Panteltje
2 Nov 24 i+* Re: OT: Programming Languages3Cursitor Doom
2 Nov 24 ii`* Re: OT: Programming Languages2Jan Panteltje
2 Nov 24 ii `- Re: OT: Programming Languages1Cursitor Doom
2 Nov 24 i`* Re: OT: Programming Languages8john larkin
2 Nov 24 i `* Re: OT: Programming Languages7Jan Panteltje
2 Nov 24 i  `* Re: OT: Programming Languages6john larkin
2 Nov 24 i   `* Re: OT: Programming Languages5Cursitor Doom
4 Nov 24 i    +- Re: OT: Programming Languages1Bill Sloman
4 Nov 24 i    `* Re: OT: Programming Languages3john larkin
4 Nov 24 i     `* Re: OT: Programming Languages2Edward Rawde
5 Nov 24 i      `- Re: OT: Programming Languages1Cursitor Doom
2 Nov 24 +* Re: OT: Programming Languages2Ian
2 Nov 24 i`- Re: OT: Programming Languages1Don Y
3 Nov 24 `* Re: OT: Programming Languages2maitre Aliboron
3 Nov 24  `- Re: OT: Programming Languages1Don Y

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal