InHacker'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 ul liA new chapter on cyclic redundancy checking (CRC), including routines for the commonly used CRC-32 codeli liA new chapter on error correcting codes (ECC), including routines for the Hamming codeli liMore coverage of integer division by constants, including methods using only shifts and addsli liComputing remainders without computing a quotientli liMore coverage of population count and counting leading zerosli liArray population countli liNew algorithms for compress and expandli liAn LRU algorithmli liFloating-point to/from integer conversionsli liApproximate floating-point reciprocal square root routineli liA gallery of graphs of discrete functionsli liNow with exercises and answersli ul
"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
There are no customer reviews available at this time. Would you like to write a review?
Addison Wesley Professional
September 28, 2012
Number of Print Pages*
Adobe DRM EPUB
* Number of eBook pages may differ. Click here for more information.