《深度探索 C++ 对象模型》封面

深度探索 C++ 对象模型

Inside the C⁺⁺ object model

Stanley B. Lippman · 初版 1996 年

7人推荐
9位读者提及
14次提及

Inside the C++ Object Model 聚焦于 C++ 中支持面向对象编程的底层机制:构造函数语义、临时对象生成、对封装与继承的支持,以及“虚机制”(the virtuals)——虚函数与虚继承。本书展示了理解底层实现模型如何帮助你更高效、更自信地编写代码。Lippman 破除了围绕 C++ 开销与复杂性的错误信息和迷思,同时也指出了确实存在(有时隐蔽)成本与权衡的领域。随后他

Hacker News 上怎么说

  • 当我读了 Stanley Lippman 的《Inside the C++ Object Model》[1] 之后,C++ 的很多东西对我来说就豁然开朗了。它帮我深刻理解了一个事实:C++ 最早是通过预处理器转换成 C 代码来实现的(Stroustrup 的 Cfront)。因此很多 C++ 机制都可以被理解为……

    Much of C++ made more sense to me when I read Inside the C++ Object Model by Stanley Lippman[1]. It helped me internalize the fact that C++ was originally implemented as a preprocessor transformation into C (Stroustrup's Cfront). Thus many C++ mechanisms can be understood as…

  • ……《Elements of Programming》。Stroustrup 的《The Design and Evolution of C++》是另一本解答“为什么这么设计”的绝佳好书,我希望 Bjarne 能决定针对 C++11 或 14 出个更新版。虽然年代比较久了,但读 Lippman 的《Inside the C++ Object Model》才是最终让我对这门语言彻底开窍的关键。

    …Elements of Programming. Stroustrup's The Design and Evolution of C++ is another great "why" book, and I hope that Bjarne will decide to update it for C++11 or 14. It's older, but reading Lippman's Inside the C++ Object Model is what finally made the language click for me.

  • 这本书非常老了,我也不知道现在看还算不算准确,但我在 90 年代中期读 Stanley Lippman 的《Inside the C++ Object Model》(http://www.amazon.com/Inside-Object-Model-Stanley-Lippman/dp...)时,发现它对于理解底层运作原理简直太有用了。Stroustrup 的《The Design…

    It's very old and I have no idea how accurate it still is, but I found Inside the C++ Object Model by Stanley Lippman (http://www.amazon.com/Inside-Object-Model-Stanley-Lippman/dp...) to be tremendously useful in the mid-'90s for understanding what was going on under the hood. Stroustrup's The Design…

  • ……Lippman、Josee Lajoie、Barbara Moo 著。在这本书完整通读一遍之前,别费心思看别的书。之后你可以通过 Stroustrup 或其他人的书来更新 C++20/C++23 等新特性。2) Stanley Lippman 的《Inside the C++ Object Model》。一本理解构建在“C 抽象机”之上的“C++ 抽象机”的经典老书。另附:The Definitive C++ Book Guide and List - https://stackoverflow.com/questions/388242/the-definitive-c-...

    …Lippman, Josee Lajoie, Barbara Moo. Don't bother with any other book until you have made a full pass over this. You can later update yourself to C++20/C++23/etc. from the books by Stroustrup/Others. 2) Inside the C++ Object Model by Stanley Lippman. An old classic to understand the "C++ Abstract Machine" built on top of the "C Abstract Machine". PS: The Definitive C++ Book Guide and List - https://stackoverflow.com/questions/388242/the-definitive-c-...

  • ……题为《C++: Under the Hood》,讲解了类布局/vtables(虚函数表)等。即便放到今天也是篇极好的读物。Pdf 链接在 https://www.google.com/goto?url=CAESewHuR6pNy2XLp9fzgwckhWpg... 最后当然还有 Stanley Lippman 的《Inside the C++ Object Model》,把一切都掰开揉碎讲得明明白白。

    …titled C++: Under the Hood which explained class layouts/vtables/etc. It is still a excellent read today. Pdf at https://www.google.com/goto?url=CAESewHuR6pNy2XLp9fzgwckhWpg... Finally of course you have Inside the C++ Object Model by Stanley Lippman explaining everything in detail.

  • ……也建议收一本基于 32 位 x86 的第一版。这些书涵盖了软硬件接口,因此几乎囊括了“系统编程”(Systems Programming)下的所有主题。- Allen Holub 的《The C Companion》。- Stan Lippman 的《Inside the C++ object model》。工具/工具链:GCC 工具链的知识是必不可少的。- Hagen 的《The Definitive guide to GCC》- H.J.Liu 的论文《ELF: A Programmer's perspective》- MSDN 文章《C++ Under the hood》……

    …also want to get the 1st ed. which is based on 32-bit x86. These books cover the HW/SW interface and thus includes almost all the topics under "Systems Programming". - The C Companion by Allen Holub. - Inside the C++ object model by Stan Lippman. Tools/Toolchain: Knowledge of the GCC toolchain is a must. - The Definitive guide to GCC by Hagen - ELF: A Programmer's perspective; paper by H.J.Liu - C++ Under the hood; MSDN article…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助