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

Efficient C/C++ Coding Techniques

Authored on: Jun 29, 2007 by Darren Moss

Technical Paper / Conference Paper

0 1
More InfoLess Info

Although the C/C++ language provides many advantages over assembly programming, it also has a reputation for being inefficient when compared with assembly. With a little research and knowledge of how C/C++ is commonly translated to assembly by the compiler, engineers can develop efficient software. The focus is on techniques and methods that produce efficient software. Some features covered are: inheritance, inline functions, macros, object classes and data structures, switches, jump-tables, if-else clauses, and pointer and array accesses.

View
 
1 comment
write a comment

Jeff Dickey Posted Oct 17, 2011

*sigh* One of these decades, we'll move past the phrase "C/C++" to conflate two marginally-related languages together. Everybody DOES know that it was first widely used as a Microsoft marketing term in an attempt to finesse the fact that their C 7.0 compiler was horribly broken as a C++ compiler, even by the early standards of the day?

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