Skip to Content
Hacker’s Delight, Second Edition
book

Hacker’s Delight, Second Edition

by Henry S. Warren
September 2012
Intermediate to advanced
512 pages
12h 41m
English
Addison-Wesley Professional

Overview

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

  • Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.
    Start your free trial

    You might also like

    TCP/IP Illustrated, Volume 1: The Protocols, 2nd Edition

    TCP/IP Illustrated, Volume 1: The Protocols, 2nd Edition

    Kevin R. Fall, W. Richard Stevens
    Understanding the Linux Kernel, 3rd Edition

    Understanding the Linux Kernel, 3rd Edition

    Daniel P. Bovet, Marco Cesati

    Publisher Resources

    ISBN: 9780133084993Purchase book