
Hacker's Delight
Henry S. Warren Jr. · 2002
Programming and computer science › Programming classics and Java
#225 most recommended
Hacker News
169
mentions by 142 people · top 2% of 15,732 books
Open Library
3.00★★★★★★★★★★
1 rating · 58 want to read
Wikipedia
1,652
article views a month
About the book
Hacker's Delight is a collection of small programming tricks that work on individual machine words, mostly for integers in two's-complement form. Its scope is low-level arithmetic and logic: counting 1-bits, bit-field manipulation, and similar operations that combine arithmetic and logical instructions. It leaves out larger topics such as sophisticated sorting and compiler optimization. Its central claim is that many seemingly obscure bit-level techniques can be derived systematically rather than memorized as folklore. The author develops each trick from its underlying arithmetic, showing why it works and how to adapt it to different register sizes. Throughout, the book treats efficient word-level code as a matter of careful reasoning about how integers actually behave in hardware.
Written by Claude from what it knows of this book.
What Hacker News says 74% recommend · 2% critical
In the commenters’ own words
Depending on your level of programming ability, one algorithm a day, IMHO, is completely doable. A number of comments and suggestions say that one per day is…
I'd say that being a hacker is more about an attitude, or state of mind, than it is about having read certain books, or knowing certain languages, etc. Now…
What Open Library readers say 3.00 from 1 rating
- 50
- 40
- 31
- 20
- 10
- 58 want to read
- 4 reading
- 3 have read
Only 1 rating: treat the average as a hint.
What Wikipedia says
- published 2002
- 306 pages
- 1,652 views a month
Reddit communities — coming later
The threads it came up in
- Ask HN: Which books do you consider real gems in your field of work/study?
- Ask HN: Most interesting, mildly impractical, well-written books on software?
- Ask HN: What book do you recommend everyone should read?
- Ask HN: Tech books every developer must read
- Ask HN: What excellent technical books have you read in 2021?
Details
- First published
- 2002
- ISBN
- 9780321842688
- Editions known
- 4 at Open Library
- Open Library
- OL8022414W
005.1Computer hackersComputer programmingHackersQa76.6 .w375 2013
Read next: its neighbours on the mosaic
Programming PearlsJon Bentley · 1999 · recommended by 158 people · 8 people recommended both
The art of computer programmingDonald Knuth · 1968 · recommended by 336 people · 12 people recommended both
Coders at WorkPeter Seibel · 2009 · recommended by 126 people · 5 people recommended both
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 people · 8 people recommended both
Compilers, principles, techniques, and toolsAlfred V. Aho · 1986 · recommended by 195 people · 6 people recommended both
Writing efficient programsJon Louis Bentley · 1982 · recommended by 9 people · 2 people recommended both
Beautiful CodeAndy Oram · 2007 · recommended by 48 people · 3 people recommended both
Structure and Interpretation of Computer ProgramsHarold Abelson · 1984 · recommended by 347 people · 7 people recommended both
The Little SchemerDaniel P. Friedman · 1995 · recommended by 288 people · 6 people recommended both
C Traps and PitfallsAndrew Koenig · 1989 · recommended by 19 people · 2 people recommended both
The algorithm design manualSteven S. Skiena · 1998 · recommended by 195 people · 7 people recommended both
The Practice of ProgrammingBrian W. Kernighan · 1999 · recommended by 90 people · 3 people recommended both
Expert C programming!Peter Van der Linden · 1994 · recommended by 88 people · 3 people recommended both
The Elements of Computing SystemsNoam Nisan · 2005 · recommended by 204 people · 4 people recommended both
Introduction to AlgorithmsThomas H. Cormen · 1990 · recommended by 274 people · 8 people recommended both
CodeCharles Petzold · 1999 · recommended by 243 people · 4 people recommended both
Matters computationalJörg Arndt · 2011 · recommended by 3 people · similar by subject and what people say about it
The (new) turing omnibusA.K. Dewdney · 1993 · recommended by 32 people · 2 people recommended both
How to Design ProgramsMatthias Felleisen · 2001 · recommended by 277 people · 6 people recommended both
HackersSteven Levy · 1984 · recommended by 130 people · 2 people recommended both
Algorithms to Live ByBrian Christian · 2016 · recommended by 69 people · 2 people recommended both
Inner loopsRick Booth · 1996 · recommended by 4 people · 2 people recommended both
Code CompleteSteve McConnell · 1993 · recommended by 393 people · 4 people recommended both
The Annotated TuringCharles Petzold · 2008 · recommended by 56 people · 4 people recommended both