Discover the power of programming with *Hacker’s Delight, Second Edition*, a must-have resource for developers seeking to sharpen their skills and deepen their understanding of efficient coding techniques. Authored by Hank Warren, this book compiles an irresistible collection of programming hacks—timesaving techniques, algorithms, and tricks—that enable programmers to craft more elegant and efficient software. Beyond practical utility, these insights offer a fascinating glimpse into the art of problem-solving, making it a delight for anyone passionate about improving their craft.
This edition features extensive new content, including a dedicated chapter on cyclic redundancy checking (CRC), which covers routines for the widely used CRC-32 code. Additionally, a new chapter on error correcting codes (ECC) introduces routines for the Hamming code, expanding the reader’s toolkit for data integrity. The book also provides more comprehensive coverage of techniques such as integer division by constants, including methods that rely solely on shifts and adds, as well as methods for computing remainders without calculating a quotient.
Further enhancements include expanded discussions on population count and counting leading zeros, along with new algorithms for compress and expand operations. The book explores advanced topics like an LRU (Least Recently Used) algorithm, conversions between floating-point and integer formats, and an approximate floating-point reciprocal square root routine. To aid visual understanding, it features a gallery of graphs illustrating various discrete functions.
Now equipped with exercises and answers, *Hacker’s Delight, Second Edition* offers both practical techniques and opportunities for active learning, making it an invaluable resource for programmers eager to improve their efficiency and problem-solving skills.
- Brand: Addison Wesley
- Product Type: ABIS_BOOK
- Author: Henry Warren
- Genre: Computers
- Binding: Hardcover
- Format: Illustrated
- Language: English
- Publication Date: 2012
When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.