Re: OT: Programming Languages

Liste des GroupesRevenir à se design 
Sujet : Re: OT: Programming Languages
De : jl (at) *nospam* glen--canyon.com (john larkin)
Groupes : sci.electronics.design
Date : 02. Nov 2024, 00:54:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <14qaij9n9tjnr6gc1lfu4o69hb68gtcguf@4ax.com>
References : 1 2 3 4
User-Agent : ForteAgent/8.00.32.1272
On Fri, 1 Nov 2024 16:03:00 -0700, Don Y <blockedofcourse@foo.invalid>
wrote:

On 11/1/2024 3:50 PM, Nick Hayward wrote:
What about C++?
>
C++ is an order of magnitude more complex than C.  Even a
casual C programmer can imagine what his code will look
like after compilation.  I.e., can imagine exactly what the
CPU will be doing (ignoring the fact that the compiler will
often out-think the coder in terms of time/space efficiency).

We want to time the execution of a control algorithm. One way to time
it is to run it in a loop maybe 100K times and measure that with a
stopwatch. But a very smart compiler might run it once, notice that
nothing has changed, and skip the reruns.

It's best to bang a port pin and measure it with an oscilloscope.

We've had FPGA compilers do that sort of thing, optimize out
intentional delays. One fix is to XOR signals with a level from a pin
that *we* know is always low.


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