Hacker's Delight 1st Edition

4.4 out of 5 stars 33 ratings
ISBN-13: 978-0201914658
ISBN-10: 0201914654
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell?
More Buying Choices
2 New from $38.99 14 Used from $29.99


Amazon First Reads | Editors' picks at exclusive prices
click to open popover

Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
    Apple
  • Android
    Android
  • Windows Phone
    Windows Phone
  • Click here to download from Amazon appstore
    Android

To get the free app, enter your mobile phone number.

kcpAppSendButton

Special offers and product promotions

Editorial Reviews

From the Back Cover

"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."

--Josh 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."

--Guy Steele

These are the timesaving techniques relished by computer hackers--those devoted and persistent code developers who seek elegant and efficient ways to build better software. The truth is that much of the computer programmer's job involves a healthy mix of arithmetic and logic. In Hacker's Delight , veteran programmer Hank Warren shares the tricks he has collected from his considerable experience in the worlds of application and system programming. Most of these techniques are eminently practical, but a few are included just because they are interesting and unexpected. The resulting work is an irresistible collection that will help even the most seasoned programmers better their craft.

Topics covered include:

  • A broad collection of useful programming tricks
  • Small algorithms for common tasks
  • Power-of-2 boundaries and bounds checking
  • Rearranging bits and bytes
  • Integer division and division by constants
  • Some elementary functions on integers
  • Gray code
  • Hilbert's space-filling curve
  • And even formulas for prime numbers!

This book is for anyone who wants to create efficient code. Hacker's Delight will help you learn to program at a higher level--well beyond what is generally taught in schools and training courses--and will advance you substantially further than is possible through ordinary self-study alone.



0201914654B06272002

About the Author

Henry S. Warren, Jr., has had a forty-year career with IBM, spanning from the IBM 704 to the PowerPC. He has worked on various military command and control systems and on the SETL project under Jack Schwartz at New York University. Since 1973 he has been with IBM's Research Division, focusing on compilers and computer architectures. Hank currently works on the Blue Gene petaflop computer project. He received his Ph.D. in computer science from the Courant Institute at New York University.



0201914654AB06272002

Product details

Customer reviews

4.4 out of 5 stars
4.4 out of 5
33 customer ratings
How does Amazon calculate star ratings?
Reviewed in the United States on May 10, 2018
Verified Purchase
Reviewed in the United States on April 27, 2005
Verified Purchase
9 people found this helpful
Comment Report abuse
Reviewed in the United States on October 22, 2002
Verified Purchase
73 people found this helpful
Comment Report abuse
Reviewed in the United States on December 7, 2010
Verified Purchase
2 people found this helpful
Comment Report abuse
Reviewed in the United States on August 24, 2015
Verified Purchase
Reviewed in the United States on October 18, 2015
Verified Purchase
Reviewed in the United States on December 30, 2011
Verified Purchase
2 people found this helpful
Comment Report abuse
Reviewed in the United States on April 5, 2013
Verified Purchase

Top international reviews

Sophie
5.0 out of 5 stars Die Grundlagen der Grundlagen...
Reviewed in Germany on April 17, 2011
Verified Purchase
10 people found this helpful
Sending feedback...
Thank you for your feedback.
Report abuse
JK
5.0 out of 5 stars Well done
Reviewed in Germany on August 17, 2015
Verified Purchase
Sending feedback...
Thank you for your feedback.
Report abuse