Object Layout

Categories: Programming

Curious how an object-oriented language such as C++ represents objects in memory, how it handles casts, and how it routes virtual method calls to the right implementation? I was too, and have written up some notes on the topic.