Three Optimization Tips for C++—Andrei Alexandrescu

Save to:
Instapaper Pocket Readability

For your Friday viewing pleasure, from the always-engaging master, Andrei Alexandrescu:

Three Optimization Tips for C++ (video) (PDF slides)

Andrei Alexandrescu

Facebook NYC, December 4, 2012

 

From an early slide in the talk: "Intuition:

  • Ignores aspects of a complex reality
  • Makes narrow/wrong/obsolete assumptions

[...]

  • The only good intuition: "I should time this."

​Enjoy.

(Bonus: The tips are also applicable in other languages. They just happen to be easier to use and control in C++.)

Add a Comment

You must sign in or register to add a comment.

Comments (2)

0 0

cooky451 said on Dec 23, 2012 03:17 AM:

What site does Alexandrescu mention at ~33:45?
0 0

cooky451 said on Dec 23, 2012 03:35 AM:

Never mind, he says it more clearly afterwards. http://gcc.godbolt.org/