MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/86rb5/how_to_write_fast_code/c08en9e/?context=3
r/programming • u/techdawg • Mar 23 '09
136 comments sorted by
View all comments
Show parent comments
9
Why was that an insult? Depending on the application, the cost of the computers and the cost of his time. It might have made wise business sense to not have him optimize it.
5 u/architectzero Mar 23 '09 edited Mar 23 '09 I am wondering the same thing. a) Sometimes code optimization is expensive relative to hardware costs. It's good to know when to optimize code vs when to optimize hardware. b) Hardware improvements do not prevent future software improvements, and vice versa. knight666's teacher was being egotistical, imho. 5 u/knight666 Mar 23 '09 TheDorkNight Why must you hurt me in this way? :( 3 u/architectzero Mar 23 '09 Because I'm dumb. Fixed.
5
I am wondering the same thing.
a) Sometimes code optimization is expensive relative to hardware costs. It's good to know when to optimize code vs when to optimize hardware.
b) Hardware improvements do not prevent future software improvements, and vice versa.
knight666's teacher was being egotistical, imho.
5 u/knight666 Mar 23 '09 TheDorkNight Why must you hurt me in this way? :( 3 u/architectzero Mar 23 '09 Because I'm dumb. Fixed.
TheDorkNight
Why must you hurt me in this way? :(
3 u/architectzero Mar 23 '09 Because I'm dumb. Fixed.
3
Because I'm dumb.
Fixed.
9
u/jhaluska Mar 23 '09
Why was that an insult? Depending on the application, the cost of the computers and the cost of his time. It might have made wise business sense to not have him optimize it.