Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Performance improvements sites for coding in c/c++

Posted on 2003-02-27
Medium Priority
Last Modified: 2010-04-01
Can anybody pls list the sites which are helpful to guide  to increase the performance and decrease the memory usage when we code in c/c++.
Pls suggest.
Question by:r_chand

Expert Comment

ID: 8040213
As an industry buzzword "embedded" normally means that a particular sofware embodiment runs on a non-PC host, ie. dedicated hardware such as a measurement device, cell phone, control device, etc.,  Often the software exists as firmware in EPROM or even custom ROM.

An operating system can be present on which the software runs, or more often so it may not be.  Special skills and tools are needed to develop that type of software.  It often requires some assembly code and looking at the hardware specifications of complex chips or microprocessors.  Cross compilers are used quite a bit as it is normally easier to develop and debug on a PC or mini-computer and more tools are usually available.
LVL 14

Expert Comment

by:Tommy Braas
ID: 8040217
Embedded systems programming is the programming of an embedded system in some device using the permitted programming interfaces provided by that system. EmbeddedJava is an example of a development environment for programming embedded systems that will execute Java programs.

Usually you would be dealing with constraints in terms of limited resources (memory etc.) available, limited, small and very specialized  APIs, real-time constraints etc. Your coding fashion would have to be more stringent in terms of using less resources.

Expert Comment

ID: 8040680
There is some useful stuff on the Guru of the Week site: www.gotwa.ca.  Take a look at GotWs nos: 10, 33 and 43-45 in particular.

Other than that books like Scott Meyer's Effective C++ series can assist you.

Just in case you are not aware of it: the golden rule of all 'performance' improvements is don't do it - at least don't do it until a tool (profiler) has highlighted the exact location of a problem area.  Check out this article for why: http://billharlan.com/pub/papers/A_Tirade_Against_the_Cult_of_Performance.html

Expert Comment

ID: 8040688
Sorry, the Guru of the Week link should be: http://www.gotw.ca/

Accepted Solution

burcarpat earned 300 total points
ID: 8055777
this site has excellent performance suggestions:


although it is primarily aimed for scientific coders ( who, actually, need the most out of their machines, even more than game programmers ), the ideas are useful to any c++ programmer
also check out the "papers" section under,


from the same author

this guy is the author of blitz++, which is one of the fastest scientific libraries around ( it consistently beats manually written fortran code, which is pretty impressive )

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question