Stanley B. Lippman的工作是提供关于C++和面向对象的训练、咨询、设计和指导。Lippman在成为一名独立咨询顾问之前,曾经是迪士尼动化公司的首席软件设计师。他在AT&T Bell实验室的时候,领导了cfront 3.0版本和2.1版本的编译器开发组。他也是Bjarne Stroustrup领导的Bell实验室Foundation项目的成员之一,负责C++程序设计环境中的对象模型部分。Lippman还撰写了许多关于C++的论文。目前Lippman已受雇于微软公司,负责Visual C++项目。
译者侯捷:电脑技术自由作家,对于技术的钻研和发表,有独特的品性与坚持。作品涵盖著、译、评三方面,散见于各种刊特、媒体、网站论坛。
发表于2024-05-03
Inside the C++ Object Model 2024 pdf epub mobi 电子书
刚看了几章,想说几句: 侯捷先生的书似乎都跟Microsoft公司的产品或理念有关 这本书似乎也不例外 Stanley书里的例子一般都是以一些开源的软件来说明问题 比如比较效率一般用的是cc、NCC等编译器 而侯捷先生所举的例子大都是使用的Microsoft VC++ 开源的 外面是这样 里面是啥...
评分其实这本书的内容并不多,一些概念贯穿全文,只要理解了就能很顺畅地看完,一些性能测试的内容完全可以跳过,花两三天就能看完。上机写些简单的代码,切到汇编窗口单步调试,就能很直观地看到书里介绍的好多内容,对理解很有帮助。
评分书里的最重要的部分还没有过时,对,我说的“最重要的部分”指的是对象模型。(其中提到的NRV技术目前的编译器基本都已经实现了,末尾的关于异常和模板的部分有充数的嫌疑) 书中关于数据成员的布局,非虚成员函数和虚函数的设计考量,在单继承,多继承/虚拟继承下都有详细的...
评分看看书里的c++内存模型,虚表、多继承,难度不小。 由于c++复杂的特性,开发c++编译器的高人们八成是费了老力了,感谢一下他们。
评分图书标签: C++ C/C++ programming 经典 计算机 编程 编译实现 计算机科学
Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritance, and "the virtuals"--virtual functions and virtual inheritance. This book shows how your understanding the underlying implementation models can help you code more efficiently and with greater confidence. Lippman dispells the misinformation and myths about the overhead and complexity associated with C++, while pointing out areas in which costs and trade offs, sometimes hidden, do exist. He then explains how the various implementation models arose, points out areas in which they are likely to evolve, and why they are what they are. He covers the semantic implications of the C++ object model and how that model affects your programs. Highlights *Explores the program behavior implicit in the C++ Object Model's support of object-oriented programming. *Explains the basic implementation of the object-oriented features and the trade offs implicit in those features. *Examines the impact on performance in terms of program transformation.* Provides abundant program examples, diagrams, and performance measurements to relate object-oriented concepts to the underlying object model. If you are a C++ programmer who desires a fuller understanding of what is going on "under the hood," then Inside the C++ Object Model is for you! Get a value-added service! Try out all the examples from this book at www.codesaw.com. CodeSaw is a free online learning tool that allows you to experiment with live code from your book right in your browser. 0201834545B11102003
我又不搞编译,读这本书干什么=。=
评分了解C++对象内存模型的唯一书籍!必读。
评分對這本書有特殊感情啊,呵呵。 這個作者是早期C++的參與者,內容沒得說。這是這個topic唯一的著作,你沒得選。可惜裡面錯誤比較多,而且不是typo,是技術性的。讀的時候需要非常小心。
评分进阶
评分很久读的了,C++内部的实现机理讲解的很透彻。
Inside the C++ Object Model 2024 pdf epub mobi 电子书