Hacker's Delight (2nd Edition)

4.2 avg rating
( 849 ratings by Goodreads )
 
9780321842688: Hacker's Delight (2nd Edition)

In Hacker’s Delight, Second Edition, Hank Warren once again compiles an irresistible collection of programming hacks: timesaving techniques, algorithms, and tricks that help programmers build more elegant and efficient software, while also gaining deeper insights into their craft. Warren’s hacks are eminently practical, but they’re also intrinsically interesting, and sometimes unexpected, much like the solution to a great puzzle. They are, in a word, a delight to any programmer who is excited by the opportunity to improve.


Extensive additions in this edition include

  • A new chapter on cyclic redundancy checking (CRC), including routines for the commonly used CRC-32 code
  • A new chapter on error correcting codes (ECC), including routines for the Hamming code
  • More coverage of integer division by constants, including methods using only shifts and adds
  • Computing remainders without computing a quotient
  • More coverage of population count and counting leading zeros
  • Array population count
  • New algorithms for compress and expand
  • An LRU algorithm
  • Floating-point to/from integer conversions
  • Approximate floating-point reciprocal square root routine
  • A gallery of graphs of discrete functions
  • Now with exercises and answers

 

"synopsis" may belong to another edition of this title.

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.

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 this title" may belong to another edition of this title.

Buy New View Book
List Price: US$ 59.99
US$ 44.37

Convert Currency

Shipping: FREE
From United Kingdom to U.S.A.

Destination, Rates & Speeds

Add to Basket

Top Search Results from the AbeBooks Marketplace

1.

Henry S. Warren
Published by Pearson Education (US), United States (2012)
ISBN 10: 0321842685 ISBN 13: 9780321842688
New Hardcover Quantity Available: 10
Seller
The Book Depository
(London, United Kingdom)
Rating
[?]

Book Description Pearson Education (US), United States, 2012. Hardback. Book Condition: New. 2nd Revised edition. Language: English . Brand New Book. In Hacker s Delight, Second Edition, Hank Warren once again compiles an irresistible collection of programming hacks: timesaving techniques, algorithms, and tricks that help programmers build more elegant and efficient software, while also gaining deeper insights into their craft. Warren s hacks are eminently practical, but they re also intrinsically interesting, and sometimes unexpected, much like the solution to a great puzzle. They are, in a word, a delight to any programmer who is excited by the opportunity to improve. Extensive additions in this edition include * A new chapter on cyclic redundancy checking (CRC), including routines for the commonly used CRC-32 code * A new chapter on error correcting codes (ECC), including routines for the Hamming code * More coverage of integer division by constants, including methods using only shifts and adds * Computing remainders without computing a quotient * More coverage of population count and counting leading zeros * Array population count * New algorithms for compress and expand * An LRU algorithm * Floating-point to/from integer conversions * Approximate floating-point reciprocal square root routine * A gallery of graphs of discrete functions * Now with exercises and answers. Bookseller Inventory # AAK9780321842688

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 44.37
Convert Currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, Rates & Speeds

2.

Henry S. Warren
Published by Pearson Education (US), United States (2012)
ISBN 10: 0321842685 ISBN 13: 9780321842688
New Hardcover Quantity Available: 10
Seller
The Book Depository US
(London, United Kingdom)
Rating
[?]

Book Description Pearson Education (US), United States, 2012. Hardback. Book Condition: New. 2nd Revised edition. Language: English . Brand New Book. In Hacker s Delight, Second Edition, Hank Warren once again compiles an irresistible collection of programming hacks: timesaving techniques, algorithms, and tricks that help programmers build more elegant and efficient software, while also gaining deeper insights into their craft. Warren s hacks are eminently practical, but they re also intrinsically interesting, and sometimes unexpected, much like the solution to a great puzzle. They are, in a word, a delight to any programmer who is excited by the opportunity to improve. Extensive additions in this edition include * A new chapter on cyclic redundancy checking (CRC), including routines for the commonly used CRC-32 code * A new chapter on error correcting codes (ECC), including routines for the Hamming code * More coverage of integer division by constants, including methods using only shifts and adds * Computing remainders without computing a quotient * More coverage of population count and counting leading zeros * Array population count * New algorithms for compress and expand * An LRU algorithm * Floating-point to/from integer conversions * Approximate floating-point reciprocal square root routine * A gallery of graphs of discrete functions * Now with exercises and answers. Bookseller Inventory # AAK9780321842688

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 46.62
Convert Currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, Rates & Speeds

3.

Warren, Henry S.
Published by Addison-Wesley Professional
ISBN 10: 0321842685 ISBN 13: 9780321842688
New Hardcover Quantity Available: 1
Seller
Bookish Corner Net
(Waltham, MA, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional. Hardcover. Book Condition: New. 0321842685 Brand NEW Hardcover, BD42, | media mail delivery is free, Your orders are meticulously inspected, packed securely, and shipped fast, quick responsive customer service insures customer satisfaction, and our feedback score speaks louder than words, international and expedited shipping for most items. Bookseller Inventory # SKU1052662

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 46.63
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

4.

Warren, Henry S.
ISBN 10: 0321842685 ISBN 13: 9780321842688
New Quantity Available: 1
Seller
Paperbackshop-US
(Wood Dale, IL, U.S.A.)
Rating
[?]

Book Description 2012. HRD. Book Condition: New. New Book. Shipped from US within 10 to 14 business days. Established seller since 2000. Bookseller Inventory # KS-9780321842688

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 43.31
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

5.

Warren, Henry S.
Published by Prentice Hall
ISBN 10: 0321842685 ISBN 13: 9780321842688
New Quantity Available: > 20
Seller
INDOO
(Avenel, NJ, U.S.A.)
Rating
[?]

Book Description Prentice Hall. Book Condition: New. Brand New. Bookseller Inventory # 0321842685

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 46.08
Convert Currency

Add to Basket

Shipping: US$ 3.50
Within U.S.A.
Destination, Rates & Speeds

6.

Henry S. Warren
Published by Addison Wesley
ISBN 10: 0321842685 ISBN 13: 9780321842688
New Hardcover Quantity Available: 2
Seller
THE SAINT BOOKSTORE
(Southport, United Kingdom)
Rating
[?]

Book Description Addison Wesley. Hardcover. Book Condition: New. New copy - Usually dispatched within 2 working days. Bookseller Inventory # B9780321842688

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 40.74
Convert Currency

Add to Basket

Shipping: US$ 8.93
From United Kingdom to U.S.A.
Destination, Rates & Speeds

7.

Warren, Henry S.
Published by Addison-Wesley Professional (2012)
ISBN 10: 0321842685 ISBN 13: 9780321842688
New Hardcover Quantity Available: 1
Seller
LaLa Mina Group
(revere, MA, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional, 2012. Hardcover. Book Condition: New. If you are not happy with your product, contact us before leaving feedback and we will make it right! Fast shipping. No Hassle Return Policy. Please contact us immediately for any discrepancy with any order. Bookseller Inventory # 018255

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 50.20
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

8.

Warren, Henry S.
ISBN 10: 0321842685 ISBN 13: 9780321842688
New Quantity Available: 2
Seller
Pbshop
(Wood Dale, IL, U.S.A.)
Rating
[?]

Book Description 2012. HRD. Book Condition: New. New Book.Shipped from US within 10 to 14 business days. Established seller since 2000. Bookseller Inventory # IB-9780321842688

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 53.15
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

9.

Henry S. Warren
Published by Pearson Education 2012-09-25, Upper Saddle River, N.J. |London (2012)
ISBN 10: 0321842685 ISBN 13: 9780321842688
New Hardcover Quantity Available: 5
Seller
Blackwell's
(Oxford, OX, United Kingdom)
Rating
[?]

Book Description Pearson Education 2012-09-25, Upper Saddle River, N.J. |London, 2012. hardback. Book Condition: New. Bookseller Inventory # 9780321842688

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 53.33
Convert Currency

Add to Basket

Shipping: US$ 3.86
From United Kingdom to U.S.A.
Destination, Rates & Speeds

10.

Henry S. Warren
ISBN 10: 0321842685 ISBN 13: 9780321842688
New Quantity Available: 3
Seller
Speedy Hen LLC
(Sunrise, FL, U.S.A.)
Rating
[?]

Book Description Book Condition: New. Bookseller Inventory # ST0321842685. Bookseller Inventory # ST0321842685

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 61.45
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

There are more copies of this book

View all search results for this book