Tech Papers

C Under the Hood

Embedded Systems Conference (ESC)
Scott Meyers

Conference Paper

May 2007

External URL

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.





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



Please sign in to post comment

Navigate to related information

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Jobs sponsored by

Feedback Form