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 (3)

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/
0 0

Newbie said on Jul 16, 2014 04:31 AM:

The video is not available. Could someone provide other link? Thank you.