Hacker's Delight by Henry S. Warren, Guy L. Steele (Foreword by)

BUY IT NEW

  • $54.99 List price
    $39.42 Online price
    $35.47 Member price
    (Save 35%)
    Limited Time Offer! Everyone receives the Member Price on books.
    See Details
  • skip to cart
  • Add To List uiAction=GetAllLists&page=List&pageType=list&ean=9780201914658&productCode=BK&maxCount=100&threshold=3

GET FREE SHIPPING ON ORDERS OF $25 OR MORE

DELIVERY & GIFT DETAILS:

Usually ships within 24 hours

Delivery Time and Shipping Rates

Eligible for gift wrap & gift message.

BUY IT USED

5 copies from $41.05

See All Available

Textbook (Hardcover - New Edition)

  • 306pp
  • Sales Rank: 147,048

Textbook Information

  • ISBN-13: 9780201914658
  • Edition Description: New Edition
  • Edition Number: 1
  • Pub. Date: July 2002
  • Publisher: Addison-Wesley
Buy it Used: 5 copies from $41.05 See All Available

Customers who bought this also bought

 
  • Overview
  • Editorial Reviews
  • Customer Reviews
  • Features

Product Details

  • Pub. Date: July 2002
  • Publisher: Addison-Wesley
  • Format: Textbook Hardcover, 306pp
  • Sales Rank: 147,048

Synopsis

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

  • 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

Booknews

A computer scientist deeply embedded in IBM has compiled small programming tricks he has come across over his four decades in the field. Most work only on computers that represent integers in two's- complement form, and are easily adapted to machines with various register sizes, though a 32-bit machine is assumed when the register length is relevant. He gives proofs only when the algorithm is not obvious, and not always then. Annotation c. Book News, Inc., Portland, OR

More Reviews and Recommendations

Biography

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

Customer Reviews

  • Reader Rating:
  • Ratings: 1Reviews: 1

Hacker's Delightby Anonymous

Reader Rating:
See Detailed Ratings

May 20, 2005: At first sight, the book seemed a bit short for $40. But there is quite a bit of information packed in there, and it's certainly much easier to comprehend than picking up one of Knuth's books for the first time. With that said, this really is a book for computer engineers, i.e. people who really like to know what's going on at the bit level. The bit manipulation examples are given in pseudo-assembly, which is very applicable. I can't give 5 stars because of the niche target audience, but it is a very concise, interesting read.