DeepRead
Cover of Inside the C⁺⁺ object model

Inside the C⁺⁺ object model

Stanley B. Lippman · 1996

Programming and computer science › C and C++

#4,072 most recommended

About the book

The book examines the implementation mechanisms that let C++ support object-oriented programming. It covers object layout, constructor semantics, the generation of temporaries, encapsulation, inheritance, and the "virtuals" (virtual functions and virtual inheritance), with the compiler's treatment of each as the central subject. Understanding the underlying object model lets programmers predict the cost and behaviour of C++ features and write code with more confidence. The author contends that many beliefs about C++ overhead and complexity are myths, while some costs and trade-offs are real but easy to miss. He also argues that the current implementation models arose for specific reasons, can be explained, and are likely to change over time.

Written by Claude from what it knows of this book.

What Hacker News says 78% recommend · 11% critical

01220102015202020262010 peak · 2
This bookAverage book in C and C++

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 2 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
1996
ISBN
9780201834543
Editions known
2 at Open Library
Open Library
OL1836490W

C plus plus (computer program language)C++ (Computer program language)Object-oriented programming (Computer science)

Explore in the mosaic

Read next: its neighbours on the mosaic