Shop now Shop now Shop now  Up to 70% Off Fashion  Shop all Amazon Fashion Cloud Drive Photos Shop now Learn More Shop now Shop now Shop Fire Shop Kindle Shop now Shop now Shop now
Customer Review

4 of 4 people found the following review helpful
5.0 out of 5 stars Readable, Deep and Useful, 2 Nov. 2009
This review is from: C++ for Game Programmers (Charles River Media Game Development) (Paperback)
I would recommend this book for any working programmer who's focussed on writing fast and stable code, and that should be just about every coder going.

I'm a self-taught, practical C++ programmer, I don't work on games, but I do need to write tight, quick code, and this is where this book scores highly.

The book tackles various C++ aspects, always focussing on performance, and how to go about getting the most out of limited resources. It details the mechanics of what goes on when you use class hierachies, and the 'cost' of various programming approaches, and then goes on to recommend ways of improving performance and avoiding common pitfalls.

I particularly got a lot out of the memory allocation chapter. I had never before thought about the cost of allocating new memory dynamically, or about heap fragmentation, that stuff had always been too advanced, and I assumed that it did not matter too much. The clear and readable explanations spelt out the subtle problems you can get hit by, and how to avoid them. There is source code for a memory manager that helps you incorporate pre-allocated memory pools, a heap walker, and leak tracker code. As I write a ton of stuff with strings, I was exposed to risks I did not even know about.

This is a great book for going from intermediate to advanced, not in terms of C++ elegance, but in terms of practical application. It does not fry your mind with dense, esoteric stuff, it is very down to earth. I found Scott Meyers books impressive, but very much focussed on the C++ language, and reading a Meyers book cover to cover is hard work. This book differs in that it's more about ways to deal with the hidden overhead of C++, and the conversational style of the text was easy and didn't leave me boggling.

My coding has changed radically thanks to this book, I can't recommend it highly enough.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

[Add comment]
Post a comment
To insert a product link use the format: [[ASIN:ASIN product-title]] (What's this?)
Amazon will display this name with all your submissions, including reviews and discussion posts. (Learn more)
Name:
Badge:
This badge will be assigned to you and will appear along with your name.
There was an error. Please try again.
Please see the full guidelines ">here.

Official Comment

As a representative of this product you can post one Official Comment on this review. It will appear immediately below the review wherever it is displayed.   Learn more
The following name and badge will be shown with this comment:
 (edit name)
After clicking on the Post button you will be asked to create your public name, which will be shown with all your contributions.

Is this your product?

If you are the author, artist, manufacturer or an official representative of this product, you can post an Official Comment on this review. It will appear immediately below the review wherever it is displayed.  Learn more
Otherwise, you can still post a regular comment on this review.

Is this your product?

If you are the author, artist, manufacturer or an official representative of this product, you can post an Official Comment on this review. It will appear immediately below the review wherever it is displayed.   Learn more
 
System timed out

We were unable to verify whether you represent the product. Please try again later, or retry now. Otherwise you can post a regular comment.

Since you previously posted an Official Comment, this comment will appear in the comment section below. You also have the option to edit your Official Comment.   Learn more
The maximum number of Official Comments have been posted. This comment will appear in the comment section below.   Learn more
Prompts for sign-in
  [Cancel]

Comments

Track comments by e-mail
Tracked by 1 customer

Sort: Oldest first | Newest first
Showing 1-1 of 1 posts in this discussion
Initial post: 11 Jul 2010 21:13:54 BDT
Lu I says:
Can you recommend a great C++ book for those starting out? (ie, beginners). This sounds good for taking things further and I'll remember that, but I'm not quite sure what book to go for to get me started.
‹ Previous 1 Next ›

Review Details

Item

Reviewer


Location: London United Kingdom

Top Reviewer Ranking: 549,324