Programming Books C Java PHP Python Learn more Browse Programming Books
Hacker's Delight (2nd Edition) and over one million other books are available for Amazon Kindle. Learn more
  • List Price: $59.99
  • Save: $39.36 (66%)
Rented from RentU
To Rent, select Shipping State from options above
Due Date: May 31, 2015
FREE return shipping at the end of the semester. Access codes and supplements are not guaranteed with rentals.
Qty:1
  • List Price: $59.99
  • Save: $18.30 (31%)
In Stock.
Ships from and sold by Amazon.com.
Gift-wrap available.
Sell yours for a Gift Card
We'll buy it for $22.60
Learn More
Trade in now
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Hacker's Delight (2nd Edition) Hardcover – October 5, 2012

ISBN-13: 978-0321842688 ISBN-10: 0321842685 Edition: 2nd

Buy New
Price: $41.69
Rent
Price: $20.63
25 New from $37.69 12 Used from $44.04
Rent from Amazon Price New from Used from
eTextbook
"Please retry"
Hardcover
"Please retry"
$20.63
$41.69
$37.69 $44.04
12%20Days%20of%20Deals%20in%20Books

Frequently Bought Together

Hacker's Delight (2nd Edition) + The Art of Computer Programming, Volumes 1-4A Boxed Set + Concrete Mathematics: A Foundation for Computer Science (2nd Edition)
Price for all three: $318.25

Buy the selected items together
NO_CONTENT_IN_FEATURE

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Hardcover: 512 pages
  • Publisher: Addison-Wesley Professional; 2 edition (October 5, 2012)
  • Language: English
  • ISBN-10: 0321842685
  • ISBN-13: 978-0321842688
  • Product Dimensions: 6.5 x 1.3 x 9 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (19 customer reviews)
  • Amazon Best Sellers Rank: #31,115 in Books (See Top 100 in Books)

Editorial Reviews

Review

“This is the first book that promises to tell the deep, dark secrets of computer arithmetic, and it delivers in spades. It contains every trick I knew plus many, many more. A godsend for library developers, compiler writers, and lovers of elegant hacks, it deserves a spot on your shelf right next to Knuth. In the ten years since the first edition came out, it’s been absolutely invaluable to my work at Sun and Google. I’m thrilled with all of the new material in the second edition.”

— Joshua Bloch

 

“When I first saw the title, I figured that the book must be either a cookbook for breaking into computers (unlikely) or some sort of compendium of little programming tricks. It’s the latter, but it’s thorough, almost encyclopedic, in its coverage. The second edition covers two new major topics and expands the overall collection with dozens of additional little tricks, including one that I put to use right away in a binary search algorithm: computing the average of two integers without risking overflow. This hacker is indeed delighted!”

— Guy Steele

About the Author

Henry S. Warren, Jr., has had a fifty-year career with IBM, spanning from the IBM 704 to the PowerPC and beyond. He has worked on various military command and control systems and on the SETL (SET Language) project under Jack Schwartz. Since 1973, Hank has been with IBM’s Research Division, focusing on compilers and computer architectures. He currently works on a supercomputer project aimed at an exaflop. Hank received his Ph.D. in computer science from the Courant Institute at New York University.


More About the Author

There's a short bio on the back cover of Hacker's Delight.

I want to point out here the existence of www.HackersDelight.org. This site will have errata files for the book (second edition) as errors are found. It has C code for the algorithms in the book and many similar algorithms.

Customer Reviews

Great stuff for the serious programmer.
Richard L. Rankin
While the second version is just a nice upgrade with a few additional topics, it is worth the purchase.
IBLUES
Well written and (relatively) concise book.
Edward Jennings

Most Helpful Customer Reviews

20 of 20 people found the following review helpful By Edward Jennings on December 5, 2012
Format: Kindle Edition
Well written and (relatively) concise book. It contains numerous techniques for efficiently managing binary data and various examinations of bitwise arithmetic.

The algorithms explained are detailed and useful. I've used a number of them 'in anger' and they've worked perfectly. I haven't come across any other book that addresses the field as well as this one does.
2 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
8 of 8 people found the following review helpful By Erebus on January 8, 2013
Format: Hardcover Verified Purchase
Hacker's Delight first edition was resourceful. This second edition even more so.

The bit manipulation chapters have lots of hints on how to code without branches.

There are some "scary" math on later chapters but you can ignore it.
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
11 of 13 people found the following review helpful By hardly_b on February 5, 2013
Format: Hardcover Verified Purchase
The book is full of useful bit-twiddling tricks. How do you quickly count the number of bits set in a 2's complement long integer? If you can't imagine caring, then this book isn't for you, but if you need to write fast, low-level code on occasion, the price of the book will be repaid the first time you find a clear explanation of some trick, instead of having to figure it out for yourself. It's a more polished, restricted version of Hackmem, which I also recommend.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
7 of 8 people found the following review helpful By wiredweird HALL OF FAMETOP 500 REVIEWER on January 24, 2014
Format: Hardcover Verified Purchase
I rarely recommend a second edition of anything to someone who owns the first, but this stands out as a worthy exception. It starts with the amazing menagerie of slick tricks that the first edition had, but adds material regarding CRCs, error correction, creative arithmetic, and more. Oh, I'm sure you can get by without these for lots of purposes. When efficiency really matters, though, or when you need to work in constrained environments (like small embedded processors that lack floating point or maybe even division instructions), approaches like these more than make up for the effort involved in using them. And, if you code in VHDL or Verilog instead of sequential languages, tools like these can help you past that last nanosecond to meet timing.

Highly recommended, not just because my copy of the first edition came with so many poorly-bound, loose pages.

-- wiredweird
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 2 people found the following review helpful By Rick Tanney on April 11, 2014
Format: Hardcover Verified Purchase
This book focuses on low-level programming algorithms designed to optimize code efficiency and execution speed. Serious programmers will benefit from studying this volume.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
4 of 5 people found the following review helpful By Carlos Neves on December 23, 2013
Format: Hardcover Verified Purchase
The book presents several tables, tricks and algorithms involving binary arithmetics... which is just what I have been looking for a long time :D
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By Teh Arbitrageur on October 4, 2014
Format: Hardcover
A fascinating collection of algorithmic tips and tricks, I could just study this for weeks and still get something new out of it every time.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 3 people found the following review helpful By J. Sorter on November 15, 2013
Format: Hardcover Verified Purchase
I own the first version and like the second version just as much. I also own several other books by this author that I highly recommend for geeks like me.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews


What Other Items Do Customers Buy After Viewing This Item?