See buying choices for this item to see if it's one of the millions that are eligible for Amazon Prime.

6 used & new from $30.00

Have one to sell? Sell yours here
 
 
Code Optimization: Effective Memory Usage
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Code Optimization: Effective Memory Usage [ILLUSTRATED] (Paperback)

by Kris Kaspersky (Author)
5.0 out of 5 stars See all reviews (3 customer reviews)


Available from these sellers.


1 new from $189.03 5 used from $30.00

Customers Who Bought This Item Also Bought

Write Great Code, Volume 2: Thinking Low-Level, Writing High-Level

Write Great Code, Volume 2: Thinking Low-Level, Writing High-Level

by Randall Hyde
4.3 out of 5 stars (6)  $29.67
Write Great Code: Volume 1: Understanding the Machine

Write Great Code: Volume 1: Understanding the Machine

by Randall Hyde
4.8 out of 5 stars (17)  $26.37
The Art of Multiprocessor Programming

The Art of Multiprocessor Programming

by Maurice Herlihy
4.3 out of 5 stars (9)  $56.65
Memory as a Programming Concept in C and C++

Memory as a Programming Concept in C and C++

by Frantisek Franek
4.1 out of 5 stars (11)  $33.70
The Algorithm Design Manual

The Algorithm Design Manual

by Steven S. Skiena
4.6 out of 5 stars (31)  $63.96
Explore similar items

Editorial Reviews

Product Description
A guide to optimizing programs on the PC and Unix platforms, this book covers the expediency of optimization and the methods to increase the speed of programs via optimization. Discussed are typical mistakes made by programmers that lessen the performance of the system along with easily implemented solutions. Detailed descriptions of the devices and mechanism of interaction of the computer components, effective ways of programming, and a technique for optimizing programs, are provided. Programmers will also learn how to effectively implement programming methods in a high-level language that is usually done in assembler with particular attention given to the RAM subsystem. The working principles of the RAM and the way in which it is coupled with the processor as well as a description of programming methods that allows programmers to overclock the memory to reach maximum performance are included.

About the Author
Kris Kaspersky is a technical writer and the author of articles on various aspects of hacking, disassembling, and code optimization. He has dealt with many issues relating to security and system programming including compiler development, optimization techniques, security mechanism research, real-time OS kernel creation, and writing antivirus programs.

Product Details

  • Paperback: 400 pages
  • Publisher: A-List Publishing (September 1, 2003)
  • Language: English
  • ISBN-10: 1931769249
  • ISBN-13: 978-1931769242
  • Product Dimensions: 9 x 7.3 x 0.9 inches
  • Shipping Weight: 1.6 pounds
  • Average Customer Review: 5.0 out of 5 stars See all reviews (3 customer reviews)
  • Amazon.com Sales Rank: #854,438 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #59 in  Books > Computers & Internet > Programming > Software Design, Testing & Engineering > Performance Optimization

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

3 Reviews
5 star:
 (3)
4 star:    (0)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
5.0 out of 5 stars (3 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
3 of 3 people found the following review helpful:
5.0 out of 5 stars Knowing how to access memory!, June 2, 2007
This book has been a revelation to me. Prior to read this book, all I knew was that memory access was expensive. This book will teach you how to organize your data in memory and how to access it to improve your program performance and most of the time without having to use assembly programming. It covers x86 memory organization and the interface between the processor and the memory and there is a whole chapter covering x86 processor cache memory. To me, the most shocking information contained in this book is a C implementation of memcpy() that outbeats VC++ implementation by 25%-30%!!!

This book is not for novices but if you are ready to change your perception forever of the x86 programming, this book is highly recommended!
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
3 of 3 people found the following review helpful:
5.0 out of 5 stars A good book (goofs notwithstanding), March 2, 2006
I've recently read this book and found it rather illuminating; every chapter had something I've learned from. As to CompierGuy's review, yes, with great surprise I did see this silly statement he's quoting; and indeed the idea that optimization can eliminate most programming bugs is preposterous. However, it is an isolated incident -- even the chapter it's in is very enlightening overall (for example, if you ever wondered, but couldn't figure out, why VC's TRACE macro resolves to what it resolves to, after reading this chapter you will understand). And so I think the silly "optimization" phrase can be ascribed to the substandard translation/editing: the publisher, A-list, seems to be a cheesy russian outfit trying to capitalize on the rapidly passing computing fad by printing a lot of padded junk with the word "Hacking" in the titles. That said, I think Kaspersky's books are an exception to the rule, although I wish they were better translated/edited.

All in all, I feel "CompilerGuy" is unfair in his criticism: he says the list of egregious errors is too long to quote and comes up with a single example -- the one and only silly phrase. Having read this book, I think that CompilerGuy's review is groundless, but perhaps I'm wrong, and being always keen to learn more, I'd be interested to see a few more examples off of this mentioned but unsubstantiated, supposedly too-long-to-quote list of "painfully wrong statements, outright speculation, and serious lack of insight".

The bottom line: if you can get past unidiomatic writing and obvious snafus like the one quoted by CompilerGuy, you'll find the book useful; it has a lot of good information and thought of a rather uncommon for what's currently in print kind.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
10 of 21 people found the following review helpful:
5.0 out of 5 stars Groundbreaking, Holistic, November 30, 2003
By Christian Beaumont (Issaquah, WA USA) - See all my reviews
I have never seen any book take such a holistic approach to the art of optimization. Sure there are plenty of books out there that talk about loop unrolling, cache alignment and instruction scheduling, but there are none like this one. You'd better hold on tight though this book is not for the faint of heart. Kris takes you on a detailed tour of the memory architecture of contemporary (PIII, P4 and Athlon) machines, examining in great detail the precise costs associated with each and every memory access. Only in this book will you find a comparison of timing between DRAM, FPM, EDO BEDO, SDRAM, DDR SDRAM, RDRAM. The text although straight and to the point is sparingly littered with amusing and sometimes sarcastic comments that work well to lighten the deep subject matter.

My only complaints are that the text reads as if it has been translated from Russian (Which it probably has) and that there are too few chapters and too many sections.

If you are serious about optimization techniques - read this book.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
  Discussion Replies Latest Post
C# or Java? 32 3 days ago
   


Product Information from the Amapedia Community

Beta (What's this?)


So You'd Like to...


Look for Similar Items by Category


$10 Instant Savings

Beauty Blender
Get a $10 instant rebate with orders of $100 or more on beauty products sold by Amazon.com. See details. Promo code: IOBeauty.

Shop all eligible items now

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Glenn Beck's Common Sense
Glenn Beck's Common Sense
Darkfever
Darkfever by Karen Marie Moning
The Adventures of Sherlock Holmes
The Adventures of Sherlock Holmes by Arthur Conan, Sir, 1859-1930 Doyle

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates