
Zen of code optimization
Michael Abrash · 1994
Programming and computer science › Electronics and computer architecture
#3,708 most recommended
Hacker News
12
mentions by 11 people · top 25% of 15,732 books
Open Library
—
No ratings yet
12 want to read
Wikipedia
—
No article yet
About the book
A practical guide to making software fast on Intel-compatible PCs, covering the x86 family and the Pentium in particular. It moves between C/C++ and assembly language, and it covers hardware details such as the Pentium's pipelining and instruction pairing rules, along with hundreds of worked optimization examples. Optimization is best approached by understanding how the processor actually executes code, combining analytical reasoning with intuitive, experiment-driven insight. The author argues that programmers should measure, locate the real bottlenecks, and try alternative formulations rather than rely on rules of thumb. The book also stresses knowing when to stop, since code is only optimized enough once further work no longer pays off.
Written by Claude from what it knows of this book.
What Hacker News says 45% recommend · 9% critical
In the commenters’ own words
One good starting point is the LLVM Machine Code Analyzer [1] What it does is use the scheduling info known to the LLVM optimizers to model how a particular…
> 2. Michael Abrash's Graphics Programming Black Book I'd temper one's expectations on this one. It's a massive, unwieldy book, mostly speaking to old PC VGA…
What Open Library readers say
No Open Library reader has rated it yet.
- 12 want to read
- 0 reading
- 0 have read
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
Details
- First published
- 1994
- ISBN
- 9781883577032
- Editions known
- 2 at Open Library
- Open Library
- OL2098183W
Assembler language (Computer program language)Assembly languages (Electronic computers)C (Computer program language)C++ (Computer program language)IBM compatible computersIBM-compatible computersProgramming
Read next: its neighbours on the mosaic
Zen of assembly languageMichael Abrash · 1990 · recommended by 6 people · named together in 2 comments
The Practice of ProgrammingBrian W. Kernighan · 1999 · recommended by 90 people · similar by subject and what people say about it
Algorithms + data structures=programsNiklaus Wirth · 1976 · recommended by 35 people · similar by subject and what people say about it
Programming PearlsJon Bentley · 1999 · recommended by 158 people · similar by subject and what people say about it
Code CompleteSteve McConnell · 1993 · recommended by 393 people · similar by subject and what people say about it
The Elements of Computing SystemsNoam Nisan · 2005 · recommended by 204 people · similar by subject and what people say about it
Expert C programming!Peter Van der Linden · 1994 · recommended by 88 people · similar by subject and what people say about it
21st Century CBen Klemens · 2012 · recommended by 42 people · similar by subject and what people say about it
Elements of programmingAlexander A. Stepanov · 2009 · recommended by 31 people · similar by subject and what people say about it
Computer architectureJohn L. Hennessy · 1989 · recommended by 59 people · similar by subject and what people say about it
Michael Abrash's graphics programming black bookMichael Abrash · 1997 · recommended by 22 people · similar by subject and what people say about it
Write Great CodeRandall Hyde · 2004 · recommended by 16 people · similar by subject and what people say about it
Zen of Graphics ProgrammingMichael Abrash · 1994 · recommended by 8 people · similar by subject and what people say about it
Programming the Z80Rodnay Zaks · 1979 · recommended by 8 people · similar by subject and what people say about it
Hacker's DelightHenry S. Warren Jr. · 2002 · recommended by 105 people · similar by subject and what people say about it
Advanced compiler design and implementationSteven S. Muchnick · 1997 · recommended by 13 people · similar by subject and what people say about it
Modern C++ DesignAndrei Alexandrescu · 2001 · recommended by 29 people · similar by subject and what people say about it
Software EstimationSteve McConnell · 2006 · recommended by 58 people · similar by subject and what people say about it
CodeCharles Petzold · 1999 · recommended by 243 people · similar by subject and what people say about it
Effective C++Scott Meyers · 1991 · recommended by 112 people · similar by subject and what people say about it
The Art of Readable CodeDustin Boswell · 2011 · recommended by 11 people · similar by subject and what people say about it
Gödel, Escher, BachDouglas R. Hofstadter · 1979 · recommended by 505 people · 2 people recommended both
The C puzzle bookAlan R. Feuer · 1982 · recommended by 10 people · similar by subject and what people say about it
But How Do It KnowJ. Scott Clark · 2009 · recommended by 21 people · similar by subject and what people say about it