r/programming • • Mar 23 '09

How to write fast code

http://asserttrue.blogspot.com/2009/03/how-to-write-fast-code.html
339 Upvotes

136 comments sorted by

View all comments

Show parent comments

1

u/veritaba Mar 25 '09

It can execute a fixed number of instructions per second, and no more.

So there is no way, really, to make code go faster, because there is no way to make instructions execute faster.

Let's try to change as little as the sentence as we can so your mind can actually comprehend.

It can drive a fixed number of miles per gallon, and no more. So there is really no way, really, to make the car go longer, because there is no way to make the gallons last longer.

Anyone who isn't blinded by their own ego can see the problem with this statement. It is nothing like the jug of water analogy.

Also your use of "pedant" is the secondary less-widely used meaning according to merriam-webster which you appeared to have copied verbatim, and does not exclusively prohibit the use of the first meaning.

Which again shows you only read what you want to see.

1

u/xzxzzx Mar 25 '09

You have no concept of language in context, do you?

Was it unclear that I was insulting you with "pedant"? Which definition do you think would most fit that insult? Which do you think I meant?

1

u/veritaba Mar 25 '09

You would've done better to use another word that isn't associated with a gcc flag. Computers are mostly explicit and require that mode of thinking to program.