Tech Papers
This paper provides a detailed look at how C++ compilers typically implement language features, focusing on the cost of those features — or, more typically, the lack thereof — compared to equivalent functionality in C. It begins with an extremely detailed examination of the implementation of virtual functions under both single and multiple inheritance, explaining how performance considerations have influenced both the design and implementation of this language feature. It then moves to an overview of the implementation of all other features of C++, dividing them into "no-cost" and "low-cost" categories.
Rate this Content
Navigate to related information





MikeLC
9/30/2010 4:43 AM EDT
Though this paper is a little older than Lundgren's (also found as a tech paper here at EE Times) I find this author a favorite of mine. Scott Meyer's does a great job of showing the benefits of C++ and which features to use and which might be avoided (few) when speed is paramount.
Sign in to Reply