Stanley B. Lippman的工作是提供關於C++和麵嚮對象的訓練、谘詢、設計和指導。Lippman在成為一名獨立谘詢顧問之前,曾經是迪士尼動化公司的首席軟件設計師。他在AT&T Bell實驗室的時候,領導瞭cfront 3.0版本和2.1版本的編譯器開發組。他也是Bjarne Stroustrup領導的Bell實驗室Foundation項目的成員之一,負責C++程序設計環境中的對象模型部分。Lippman還撰寫瞭許多關於C++的論文。目前Lippman已受雇於微軟公司,負責Visual C++項目。
譯者侯捷:電腦技術自由作傢,對於技術的鑽研和發錶,有獨特的品性與堅持。作品涵蓋著、譯、評三方麵,散見於各種刊特、媒體、網站論壇。
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
發表於2024-05-21
Inside the C++ Object Model 2024 pdf epub mobi 電子書 下載
這本書非常適閤用來裝逼!人活著不為瞭裝逼,那跟鹹魚又有什麼區彆! 整本書幾乎沒講C++的任何語法,任何編程技巧,任何使用經驗,說的內容就如標題所言:C++編譯器說明書 + virtual 關鍵字詳解 ! 看這本書的時候,完全不需要寫任何代碼去驗證。為什麼?舉個例子...
評分書裏的最重要的部分還沒有過時,對,我說的“最重要的部分”指的是對象模型。(其中提到的NRV技術目前的編譯器基本都已經實現瞭,末尾的關於異常和模闆的部分有充數的嫌疑) 書中關於數據成員的布局,非虛成員函數和虛函數的設計考量,在單繼承,多繼承/虛擬繼承下都有詳細的...
評分我是以日記的形式寫下,寫完發覺有些書評的性質,就發到此處。 首先說 《深度探索 C++ 對象模型》 是一本書,一本介紹 C++ 對象模型的書,這是一本獨一無二的從編譯器的解讀來闡述 C++ 對象模型的書籍,因著編譯器的設計者和學習者全球本來就少,加之深度研究...
評分這本書寫得很拗口,侯捷的翻譯也有很多不符閤習慣的用詞,所以讀起來頗為費力。 總結一下: 1. 虛函數的實現: 為每個帶有虛函數的類,建立一個虛函數錶,存放這個類的每個虛函數的地址。基類和派生類的虛函數錶有著不同的內容。 每個有虛函數的類的對象帶...
評分其實完全可以用軟件設計的視角來閱讀這本書,在這本書中學到的不僅僅是語言,而是語言背後的東西——代碼應該怎麼寫纔會更有效率。軟件設計中功能性的實現總是最低層次的,而軟件背後的效率和設計的思想纔更值得人去關注,linus反對用C++,因為用C完全能做到C++的效果,...
圖書標籤: C++ C/C++ programming 經典 計算機 編程 編譯實現 計算機科學
看這本書的時候真是各種爽啊!Lippman對於底層的對象模型講的很深刻。讀完這本書後,你就可以知道為什麼有時候cast是會要有代價的,為什麼C++在一些情況下效率是和C一樣的,virtual table是怎麼實現的,還有RTTI,還有很多問題Lippman都幫你做瞭解答。最後不得不提譯者侯捷老師,他為本書插入瞭很多自己畫的示意圖和譯注,真是為本書錦上添花,讓我們理解本書輕鬆不少。
評分差不多十一個小時讀完,又漲知識瞭。
評分helpful
評分從另外一個角度即實現這的角度來考慮C++
評分我又不搞編譯,讀這本書乾什麼=。=
Inside the C++ Object Model 2024 pdf epub mobi 電子書 下載