The Third Pocket logoThe Third Pocket Make The Third Pocket your preferred source on Google

Get the first rule

One money rule the rich follow, one true story, 2 minutes. Free.

Box blank on your phone? Tap here

Free. Unsubscribe any time. Run by Beehiiv.

Hacker's Delight, Second Edition review

Last updated: November 28, 2026

Hacker's Delight, Second Edition by Henry S. Warren, Jr. book cover

Hacker's Delight, Second Edition
Henry S. Warren, Jr.

Small operations on bits become a lesson in looking closely. Their elegance matters, but so do the assumptions that make them correct and the costs of maintaining them.

Amazon product page

Basis: linked publisher and author material, available excerpts, independent criticism and podcast notes. This is a research-based critical essay, not a full-text or complete-audio assessment.

The question

When does a clever shortcut deepen understanding, and when does it merely make a programme harder for the next person to trust?

The book's argument and frame

The publisher describes a collection of low-level programming techniques, including counting bits, division by constants, cyclic redundancy checks and error-correcting codes. This is not a guide to breaking into computer systems. Warren makes that distinction himself in the inspected preface: hacker means someone who enjoys making computers do things in new or clever ways. The unit of attention is often an individual word or instruction, rather than a large application.

The publisher's second-edition record gives September 25, 2012 and 512 pages, with a 2013 copyright. The supplied sample identifies its printing as October 2013. A Computer bookshelf review lists 494 pages for the same hardcover ISBN. Those counts are retained as a disagreement rather than silently merged. The pictured cover is the publisher's second-edition cover.

The evidence and the counterweight

The publisher-hosted sample's complete preface and the opening rightmost-bit examples on printed pages 11-12 were inspected. Warren states assumptions about two's-complement integers, often 32-bit words, and a preference for branch-free code. These are part of the method's context, not universal performance results. The examples show how arithmetic and logical operations can work together to isolate or remove a bit without visiting each bit separately.

Bill Wake's complete September 2017 XP123 review celebrates the surprising simplicity of the techniques while saying the book would not be a daily programming reference for him. Computer bookshelf's complete April 2013 review finds it meticulous and rich, but terse and not easily accessible, and discloses a beginner-intermediate viewpoint. Both admire it; neither supplies a current comparative benchmark. The publisher's five-page errata for the second and third printings provides a harder counterweight. It corrects formulas, instruction counts and programme bugs, including a particular divisor case. Only the substantive corrections on pages 1-4 were evaluated here; the final typographical page was not used to assess algorithms.

Founders cross-check

No matching book-specific Founders episode is evaluated here. No podcast interpretation from that series is used.

TTP's analysis

TTP's lens is the difference between understanding a trick and depending on it. A compact expression can reveal a hidden relationship, which is an educational gain even if it never enters production. Shipping it creates another obligation: someone must be able to explain its assumptions, test its edge cases and keep it correct when the surrounding programme changes. The errata makes that obligation concrete. Beauty does not protect an algorithm from a wrong condition or an omitted operation. A useful reading therefore asks both why a technique works and what evidence would justify using it in this setting.

Where the lesson stops

The whole book and the remainder of the sample were not read. No code from the book was executed or benchmarked for this essay, and no claim is made that branch-free code is faster on a particular current processor. Word size, programming-language rules, compiler behaviour and measured workload should be checked before adopting a technique. The publisher's sample and errata are not a substitute for validating a deployed implementation.

What readers can use

Treat a clever expression as a claim with conditions. Write those conditions down, look for a counterexample and decide whether its explanatory value survives the cost to future readers.

Questions for a full reading

  1. Which assumptions belong to the mathematical identity, and which belong to the machine model?
  2. Does a shorter expression make the programme easier to explain?
  3. What test would expose the boundary case most likely to be missed?

Sources and reading basis

Sources checked November 28, 2026. No affiliate links. Purchase and publisher links identify the book; critical sources and podcast interpretations are attributed separately. The a16z link is the discovery source, not TTP analysis.

All 331 book reviews · Free tools · TTP blog