The Secret Life of C++: What Your Compiler Doesn't Want You To Know

Richard Tibbetts
Date: Jan 13 6-8pm, Jan 14 6-8pm in 4-237

C++ is filled with strange and wonderful features, with a few more added in C++11. We will explore in detail how these features are implemented under the covers, in terms of the assembly code generated. Features to be explored include construction and destruction, copying, references, virtual methods, method dispatch, object layout, exceptions, templates, anonymous functions, captures, and more. No one should claim to be a C++ expert (including the instructor) but this class should help you win a geek fight (or job interview) with anyone who does. Examples will be worked on OSX or Linux with clang or gcc, but we will encourage experimentation if you show up with a Visual Studio 2013 environment.

Attendance: Two-session series.
Prereqs: Familiarity with C and C++, 6.004 useful.
Contact: sipb-iap-cpp at mit dot edu
Fork me on GitHub