|
Movies Books Music Food Tv Shows Technology Politics Video Games Parenting Fashion Green Living more >

Lunch » Tags » Books » Reviews » Efficient C++: Performance Programming Techniques » User review

When efficiency matters, which is always, read this book

  • Mar 16, 2000
Rating:
+5
There are two different categories of efficiency considerations: those that you do because they are necessary and those done only when necessary. The first category consists of those changes that make the code run faster and cleaner, whether it be on a silicon or carbon based CPU. The second category becomes significant when, no matter how clean your design and completion of the first category, the hard requirements are such that the executable just does not perform to the velocity specifications. This second category is where the danger lies, because changes here often are at the expense of portability, readability or maintainability. The first category are all no-brainers, while the second will often cause headaches, either now or in the future.
Both categories are fully represented in this book, and even in the age of gigaflop desktop devices, the first should be implemented with all the due regard of a religion. For many of them save more than just clock cycles. In so many cases, the result is code that is much more elegant and easier to read, which translates into long-term savings. C++ is a very flexible, powerful language, but it does have some significant inherent performance hazards. Constructor calls are automatically generated by C++ compilers in many places where you would not on first pass suspect them. I have been teaching and writing C++ code for almost a decade and there were some that I had not thought about. However, once noted, they are relatively easy to avoid, a point where the authors are very clear. This feature alone is enough for managers to buy copies for all C++ developers and use the examples in this book to construct company wide coding guidelines.
The second category is of course more problematic, but we all know that it happens. If you are ever in the situation where you must optimize further, even at the cost of portability and future maintenance, then you will appreciate the strategies enunciated in this book.
Of the many C++ books that I have read in the many years that I have been working and reviewing, I firmly believe that this one may be the most valuable. Efficient code is still very important and in less than three hundred pages, the authors give you a plan that may save you precious body parts.

What did you think of this review?

Helpful
3
Thought-Provoking
0
Fun to Read
0
Well-Organized
3
Post a Comment
September 21, 2010
I took an intro to programming class at UCLA and the young associate professor was TERRIBLE. Everything was fun until we hit vectors and animation (which he didn't teach at all, T_T)
 
1
More Efficient C++: Performance Pro... reviews
review by . February 11, 2000
There are two different categories of efficiency considerations: those that you do because they are necessary and those done only when necessary. The first category consists of those changes that make the code run faster and cleaner, whether it be on a silicon or carbon based CPU. The second category becomes significant when, no matter how clean your design and completion of the first category, the hard requirements are such that the executable just does not perform to the velocity specifications. …
About the reviewer
Charles Ashbacher ()
Ranked #73
Charlie Ashbacher is a compulsive reader and writer about many subjects. His prime areas of expertise are in mathematics and computers where he has taught every course in the mathematics and computer … more
Consider the Source

Use Trust Points to see how much you can rely on this review.

You
CharlesAshbacher
Your ratings:
rate more to improve this
About this book

Wiki

Demonstrates the potential of C++ to produce highly efficient programs. Reveals practical, everyday object-oriented design principles and C++ coding techniques that can yield large performance improvements. Focuses on combining C++'s power and flexibility with high performance and scalability. Softcover. DLC: C++ (Computer program language).
view wiki

Details

ISBN-10: 0201379503
ISBN-13: 978-0201379501
Author: Dov Bulka
Publisher: Addison-Wesley Professional

First to Review
© 2014 Lunch.com, LLC All Rights Reserved
Lunch.com - Relevant reviews by real people.
()
This is you!
Ranked #
Last login
Member since
reviews
comments
ratings
questions
compliments
lists