|
I'd agree - compilers are pretty good, but they still don't come close to an experienced human who knows what he is doing with a specific machine code / assembler.
Part of that is that the language being compiled enforces specific structure on the program being written, which may not be an ideal match for the task being coded: an example I had was where I needed to output 128 bit data serially with a clock bit - The compiler generated code was slow as heck because it just didn't know what exactly I was trying to do, and there was no way to tell it. In assembler, it was two machine instructions per bit and an order of magnitude faster (and the clock was symmetric as well, unlike the compiler version).
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
In the beginning there were only ones and zeroes, then came Assembly language.
Unfortunately, people did not understand what they saw.
An angry mob came forth carrying pitchforks and shouted:
"Aye, dark wizards!
Keep yer magic tomes of olde to yerself!
We dun want yer magic here, lest ye curse us all to heck!
Now let us call upon the Witchfinder General, that she may release us from evil!"
And thus came forward Grace Hopper, who wrote the first compiler, hiding the runes of the computer which people did not understand.
And people could use higher level languages and they did not look back.
Yet, compilers have since been known to contain dark magic, but a necessary evil and those who dare open up these Pandora boxes are known as dark wizards.
|
|
|
|
|
And how do unspeakable interpreters from Mordor fit into that picture?
Know what? Today I went out on the field again and only saw one black/yellow warning sign license plate. The invasion seems to be over.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
CDP1802 wrote: And how do unspeakable interpreters from Mordor fit into that picture? They don't fit... they just force place for them fighting around
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
LOL
Joking aside, it is reported that Dr. John von Neumann actually frowned upon at the idea of an assembler!
Quote: John von Neumann, when he first heard about FORTRAN in 1954, was unimpressed and asked "why would you want more than machine language?" One of von Neumann's students at Princeton recalled that graduate students were being used to hand assemble programs into binary for their early machine. This student took time out to build an assembler, but when von Neumann found out about it he was very angry, saying that it was a waste of a valuable scientific computing instrument to use it to do clerical work.
Source: Computing at Columbia Timeline[^]
Gerardo
|
|
|
|
|
Von Neumann sounds like an idiot
I know he wasn't, but I guess it proves everyone makes mistakes.
Maybe he was just jealous that he didn't come up with the idea
|
|
|
|
|
Hi Harold, this (for me "dense") post seems like the start of a long, and very interesting article, for CP.
I think for those (like me) who once programmed in assembler back-when bytes were scarce, but, are now devotees (addicts?) of way-beyond-registers-and-op-codes high-level sauces, like C#, there is a void/vacuum of sorts ... how the hell do you figure out where in your modern C# code you might benefit from going "unsafe" ?
Oh yeah, some scenarios are obviously ripe for lower-level manipulations, like modifying every byte in some image, but, those seem not so frequent (to me).
cheers, Bill
«When I consider my brief span of life, swallowed up in an eternity before and after, the little space I fill, and even can see, engulfed in the infinite immensity of spaces of which I am ignorant, and which know me not, I am frightened, and am astonished at being here rather than there; for there is no reason why here rather than there, now rather than then.» Blaise Pascal
|
|
|
|
|
This would make a great article for CP, I would agree.
I would think that "hinting" the compiler at some level would be helpful, I have used that, and EMIT statements in the past to fix some localized code (force 32 bit instructions to be used inside of a 16 bit program).
But keep in mind, if you think finding programmers is hard now. Imagine if we ONLY had assembly to work with? 99.99% of what we do does not require this level of attention or speed, or efficiency. Sure, if it was free it would be nice...
And that is the other thing. The Compiler has 3 goals: Compilation Speed, Execution Speed, working on ANY Compatible Computer. (Meaning a multi-threaded faster solution on my machine is the worse choice, because my clients are running much smaller machines).
I think this is what makes it hard. I would prefer to see FASTER compiles while working, and DEEPER/OPTIMIZING compiles when pushing a candidate forward for testing/release. But don't double or triple my compile speeds just to make my System Idle Process get more CPU <grin>.
|
|
|
|
|
Nope nope, nope.
I had a manager I lovingly refer to as my Former Bitch Supervisor From Helltm who thought program bugs were like roaches. If there was 1, there were 10, and no program was bug free.
However, when we encountered a compiler bug, she refused to believe it. We tried to remind her how she claimed all programs had bugs. Didn't apply, this was a compiler (as in, it wasn't a program).
So compilers ARE magic, according to her. Sorry to be the bearer of bad news.
Psychosis at 10
Film at 11
Those who do not remember the past, are doomed to repeat it.
Those who do not remember the past, cannot build upon it.
|
|
|
|
|
Microsoft has managed to make IE10 and 11 look good with the release of Edge.
Bleh
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Isn't it amazing that for whatever cursed reason Microsoft cannot do a browser.
|
|
|
|
|
|
They do however do an excellent IDE, 2017 may need a little work but I'm confident it will settle down in the next year or so.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Or an office suite.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Or an operating system...
When you are dead, you won't even know that you are dead. It's a pain only felt by others.
Same thing when you are stupid.
modified 19-Nov-21 21:01pm.
|
|
|
|
|
Having spent a lot of time developing an online HTML Editor for our intranet I now appreciate IE11 a lot more. They finally got it right. It is almost completely standards compliant and everything just works the way it should, even more so than either Chrome, Firefox or Safari, which I also have to support.
...and then, Edge.
As soon as Microsoft finally gets something right, full featured and completely working, they have to mess it up with a new, "improved" version.
IE11 was fine, Edge isn't.
Windows 7 was fine, everything since isn't.
VS2015 was fine, VS2017 isn't.
Office... well, you see where I am going with is.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
I would like to now what was the last version of Office you define as 'fine'
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Word 6.0 for DOS.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: I would like to now what was the last version of Office you define as 'fine' 2003.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
I don't know if it's by design, but most of the things that the browser I'm using doesn't support are things that I'd consider security risks, anyway.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Like writable-streams, directory-upload, web-payment, file-system-api?
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Exactly.
I'll wait until a couple of thousand zero-days have been cured, before trusting such "great new features".
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I hadn't looked at that in a while, the gap between Chrome/FF/Edge has really narrowed over the last yearish. While there's still enough variation in what they do and don't support to make things interesting for people on the cutting edge of web development, I think it's fair to say that MS has finally caught up on browser standards.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Quote: IE11 was fine
Why then cp still does not Support it?
modified 19-Jan-21 21:04pm.
|
|
|
|
|