Thanks for this post, it's all too easy to forget all this in your daily routine.
If the OP reads this, if you work at a company where much of this isn't possible, why not move on?
I wrote my compiler. It's an insult to my compiler to code in ASM. I do it for a few key routines. It's hard to describe, but basically it's an insult to my compiler.
Asm is nasty for other programmers to read -- not polite. A founding principle is having code easy for amateurs to tinker with. Converting code to asm is not likely to help much and it just creates nasty code for others to deal with.
God says...
C:\LoseThos\www.losethos.com\text\SWIFT.TXT
, made my reverence
to my master's guest, asked him in his own language how he did, and
told him HE WAS WELCOME, just as my little nurse had instructed me.
This man, who was old and dim-sighted, put on his spectacles to
behold me better; at which I could not forbear laughing very
heartily, for his eyes appeared like the full moon shining into a
chamber at two windows. Our people, who discovered the cause of my
mirth, bore me company in laughing, at which the old fellow was
fool enough to be angry
----
I can't tell you how many times, I've attempted to optimize things and it made no difference. If you have any experience with 64-bit asm coding on modern processors, you can attest that it's a complete mystery how timings work and old school techniques count for nothing.
2 comments
[ 4.2 ms ] story [ 11.3 ms ] threadAsm is nasty for other programmers to read -- not polite. A founding principle is having code easy for amateurs to tinker with. Converting code to asm is not likely to help much and it just creates nasty code for others to deal with.
God says... C:\LoseThos\www.losethos.com\text\SWIFT.TXT
, made my reverence to my master's guest, asked him in his own language how he did, and told him HE WAS WELCOME, just as my little nurse had instructed me. This man, who was old and dim-sighted, put on his spectacles to behold me better; at which I could not forbear laughing very heartily, for his eyes appeared like the full moon shining into a chamber at two windows. Our people, who discovered the cause of my mirth, bore me company in laughing, at which the old fellow was fool enough to be angry
----
I can't tell you how many times, I've attempted to optimize things and it made no difference. If you have any experience with 64-bit asm coding on modern processors, you can attest that it's a complete mystery how timings work and old school techniques count for nothing.
"get off my lawn!" in other words.