datasheets.com EBN.com EDN.com EETimes.com Embedded.com PlanetAnalog.com TechOnline.com  
Events
UBM Tech
UBM Tech
Welcome Guest Log In | Register

C++ Under the Hood

Authored on: May 7, 2007 by Scott Meyers

Technical Paper / Conference Paper

0 1
More InfoLess Info

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.



Please disable any pop-up blockers for proper viewing of this paper.

1 comment
write a comment

MikeLC Posted Sep 30, 2010

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.

reply

Please Login

You will be redirected to the login page

×

Please Login

You will be redirected to the login page

×

Please Login

You will be redirected to the login page