Skip to content
Paperback C++ Footprint and Performance Optimization Book

ISBN: 0672319047

ISBN13: 9780672319044

C++ Footprint and Performance Optimization

This text aims to supply programmers with the knowledge they need to write code for the increasing number of hand-held devices, wearable computers and intelligent appliances. It contains case studies... This description may be from another edition of this product.

Recommended

Format: Paperback

Temporarily Unavailable

We receive 1 copy every 6 months.

Customer Reviews

5 ratings

Very good for non-pros

Other reviews mentioned that this is not a book for advanced people. That's true. It was very helpful to me, however. I did some C++ and application development in high school, but put it away and didn't think about it much. Now when it came time to perform a computationally-intensive simulation, I found myself with pretty vague knowledge of C++, and how it actually works. This book was exactly at the right level for me. It's a bridge between beginner and intermediate/advanced. Lots of good practical knowledge. Professional yet comprehensible writing style.

A different approach to C++ programming...

Let me start off by saying that this book contains a wealth of information for the professional programmer. The reason I found this book so useful is probably because the authors took a very different approach to writing about C/C++ programming than other books currently available. Instead of showing some tips and tricks on isolated subjects (or giving mere functional descriptions of language components) this book actually focuses on the practical problems that C++ developers have run into when writing professional software. Think for instance of coping with changing system requirements, updating existing software projects, UI design, using external devices, design trade-offs between flexibility and performance, prototyping and setting and evaluating performance targets. The way Footprint and Performance deals with these subjects makes it as much a book for software designers and architects, as programmers. Though parts of the book contain essential background theory which you can read sitting comfortably on your couch, the technical parts have you experimenting with example code behind your PC. The examples help you master topics that should be part of the standard skill package of every programmer, such as: multithreading, callback functions, input file parsing, data block pattern matching, memory usage strategy, sorting user data types and so on. Footprint and Performance clearly aims to make its readers all-round software engineers by letting them benefit from the authors extensive experience in the field of professional C++ programming. In that respect the title could perhaps have been chosen better. Though the book elaborates in depth on performance issues related to data type design and access, and implementation issues, it has far more to offer than the title implies. So is this book readable then? I can answer yes to that question without prejudice. What I noticed particularly was how the authors were able to maintain the same clear and easy to read approach to the complex subjects as to the simpler ones. No small feat given the subjects the book deals with.

Examine performance implications of programming decisions

Concentrates on a broad range of performance optimization techniques. The author strikes a nice balance between programming in-the-large and programming in-the-small techniques. The programming in-the-large chapters discuss language selection (assembly, C, C++, Pascal, Visual Basic, or Java), O notation, memory managers, string searching, sorting, and data structures (arrays, linked lists, hash tables, binary trees, and red/black trees). Includes a lucid analysis of memory managers. Programming in-the-small issues are variable types, variable scope, variable initialization, structures, bit fields, unions, selectors, jump tables, loops, invoking functions, macros, inline functions, iteration vs. recursion, pass by reference vs. pass by value, global data, virtual functions, and templates. Excellent set of charts containing timing comparisons of the various techniques. The source code is available from the publishers web site.There are several lapses in this text. All of the timing charts for comparing the various techniques should have been printed in the book. The third section of the book on avoiding C traps and pitfalls is off topic. Programming in-the-small optimization techniques are not covered comprehensively. One glaring omission is the technique of using a sentinel element as a loop termination signal. The author does not provide a bibliography or references to standard industry texts. At a minimum the sorting and string searching sections should have referenced Donald Knuth?s ?The Art of Computer Programming: Sorting and Searching, Vol. 3? and Dan Gusfield?s ?Algorithms on Strings, Trees, and Sequences: Computer Science and Computational Biology?.

Not just optimization

This is a very practical book; all concepts are supported by several concise example programs (most of which evolve in seperate steps to clearly highlight what is being explained.) and the layout is wonderfully accesible, e.g., text, source code and output etc. The authors have really gone beyond the quality of similar books on the market by providing an amount of detail above that of introductory text, which makes it benefitial to professionals as well as students. Apart from covering performance and footprint related topics, this books contains a wealth of c++ "should know"s and "do's and don't"s.From multitasking techniques, text parsing and UI design to better understanding of c++ language concepts. In this respect the title really runs short of describing the book's actual content.

Good book!

Apart from a solid introduction into writing more efficient code, this book covers mostly advanced topics. However, I found these were explained very clearly, with plenty of programming examples given in the text making it surprisingly easy to follow. I would certainly suggest picking up this book if you want to know more about optimized programming, or if you just need a quick reference to, say; speedy sorting techniques, efficient storage structures, pattern matching or intelligent IO.Beware though, this is not a C++ tutorial. For that you will have to go elsewhere. But if you are able to write programs a little more complicated than 'hello world' on your own, then you are already ready for the next step in your education. This book will advance your c++ programming skills a good many more levels.
Copyright © 2023 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks® and the ThriftBooks® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured