Switch to full style
For C/C++ coders discussions and solutions
Post a reply

Efficient Programming Book

Fri Nov 07, 2008 5:59 pm

Im currently looking for a (affordable :D) book about efficient C++ programming.
I googled and there are lots of options but I want to know which one you guys
are using and a review or two would be very helpful :D
I need a book that explain about how to make a performance-critical application
such as real time graphic programming and stuff.

Any recommendation?



Re: Efficient Programming Book

Fri Nov 07, 2008 6:01 pm

"Stuff" is pretty generic. Basic steps of writing performance-friendly
code:

1) Get the program working first (inefficiently, but functional).
2) Run a line-level performance monitoring tool (the good ones cost
money - expect to spend at least $400 for a halfway decent tool).
3) Look at the results of #2 and modify code to optimize out the most
inefficient portions.
4) Repeat process until satisfied.

No need for a book.

But if you still feel the need, game programming is the most intensive
type of optimization environment out there. Most applications can
afford to waste a bazillion clock cycles. Drop the framerate in a game,
though, for any reason, and users will start screaming.
Code:
http://www.gamedev.net

is definitely worth checking out, but the principles are the same there.
They use the same tools and methodologies - just more aggressively.

Post a reply
  Related Posts  to : Efficient Programming Book
 How to Write Small,Useful and Efficient Programs     -  
 JFC Book (IBM)     -  
 Phone Book     -  
 Phone Book     -  
 PHP Phone Book     -  
 best book on java?     -  
 Address Book in Java     -  
 Guest Book Application Using Servlets     -  
 Full Phone Book System php and mysql     -  
 I download the phone book coding from your site     -