Thread: C & V Computers
View Single Post
Old 09-02-20 | 02:45 PM
  #38  
squirtdad's Avatar
squirtdad
Senior Member
Titanium Club Membership
15 Anniversary
 
Joined: Jul 2006
Posts: 11,479
Likes: 4,885
From: San Jose (Willow Glen) Ca

Bikes: Kirk Custom JK Special, 86 De Rosa Pro, '84 Team Miyata,(dura ace old school) 80?? SR Semi-Pro 600 Arabesque

Originally Posted by Andy_K
The received wisdom these days is that for anything that isn't trivial you can't hand code assembly that's faster than what a good compiler will produce. I used to think that was because compiler developers were super geniuses. Then I became a compiler developer and I found out that it's really because compiler developers can spend insane amounts of time optimizing specific patterns. If most developers spent all day trying to eliminate a single instruction from a single function they be told to stop wasting time, but if I do it in the compiler and it makes 500 programs just a little bit faster it's a good bargain.

I like C because you can read it and (usually) know exactly what is going to happen at the processor level. C++ is just as efficient these days and lets you create your own abstractions to write code that says what it means instead of saying what it does. There's a certain beauty to that too.

Have I mentioned that I'm a huge nerd?

and there is a pointer laughing at you somewhere.

me I am still a nerd but non practicing I am on the darkside......head of change and release......no you can't put that failed code into production, yes you have to docment that you are upgrading the network and bringing the whole company down for a weekend
__________________
Life is too short not to ride the best bike you have, as much as you can.





squirtdad is offline  
Reply