
Hacker's Delight
Pearson Education · Print & ebook · September 25, 2012
A Programming pick for readers exploring Hacker's Delight.
We earn from qualifying purchases.
- Who it’s for
- Small programming tricks turn arithmetic into a playground for sharper, more elegant code.
- Themes
- Programming algorithms, Software efficiency, Computer arithmetic
- Genres
- Algorithms, Compilers, Computer Science
Nearest books
Matched by what the books are about, then ordered by what their readers also loved.
Assembly Language Step-by-stepJeff Duntemann54% match
Black Hat Python, 2nd EditionJustin Seitz, Tim Arnold60% match
Concrete MathematicsRonald L. Graham, Donald E. Knuth59% matchShares Algorithms and Computer Science
Automate the Boring Stuff With Python, 2nd EditionAl Sweigart54% match
C Programming LanguageDennis Ritchie, Brian W. Kernighan56% match
Pragmatic Programmer, theDavid Thomas, Andrew Hunt56% match
Structure and Interpretation of Computer Programs, Second EditionHarold Abelson, Gerald Jay Sussman53% matchShares Algorithms and Computer Science
CodeCharles Petzold65% matchShares Computer Science
For younger readers: The CS Detective
Start with three books, and this one can be the first.
Members get a new edition every morning: a route out from their books to essays, research and talks, with the reason for each.
Start with this bookAbout this book
"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.
Continue reading
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 (Praise for the first 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
The Joy of Bits
Small programming tricks turn arithmetic into a playground for sharper, more elegant code.
Come here for
- Clever algorithms for division, bit counting, CRCs, and error-correcting codes
- The pleasure of seeing an unexpected solution click into place
Expect
- Practical techniques alongside the ideas behind them
- Exercises and answers for trying the tricks yourself
Where it sits
| Algorithms | 90% |
|---|---|
| Compilers | 37% |
| Computer Science | 26% |
Percentages are BookFrontier’s reading of the book.
Publisher categories
- Algorithms
- Authors
- Henry S. Warren
- Publisher
- Pearson Education
- Published
- September 25, 2012
- Format
- Print & ebook
- Theme
- Programming algorithms · Software efficiency · Computer arithmetic
- Reading lane
- Algorithms