DeepRead
Cover of Zen of code optimization

Zen of code optimization

Michael Abrash · 1994

Programming and computer science › Electronics and computer architecture

#3,708 most recommended

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

02420102015202020262021 peak · 4
This bookAverage book in Electronics and computer architecture

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 12 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

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

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Zen of assembly language
    Michael Abrash · 1990 · recommended by 6 people · named together in 2 comments
  • The Practice of Programming
    Brian W. Kernighan · 1999 · recommended by 90 people · similar by subject and what people say about it
  • Algorithms + data structures=programs
    Niklaus Wirth · 1976 · recommended by 35 people · similar by subject and what people say about it
  • Programming Pearls
    Jon Bentley · 1999 · recommended by 158 people · similar by subject and what people say about it
  • Code Complete
    Steve McConnell · 1993 · recommended by 393 people · similar by subject and what people say about it
  • The Elements of Computing Systems
    Noam 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 C
    Ben Klemens · 2012 · recommended by 42 people · similar by subject and what people say about it
  • Elements of programming
    Alexander A. Stepanov · 2009 · recommended by 31 people · similar by subject and what people say about it
  • Computer architecture
    John L. Hennessy · 1989 · recommended by 59 people · similar by subject and what people say about it
  • Michael Abrash's graphics programming black book
    Michael Abrash · 1997 · recommended by 22 people · similar by subject and what people say about it
  • Write Great Code
    Randall Hyde · 2004 · recommended by 16 people · similar by subject and what people say about it
  • Zen of Graphics Programming
    Michael Abrash · 1994 · recommended by 8 people · similar by subject and what people say about it
  • Programming the Z80
    Rodnay Zaks · 1979 · recommended by 8 people · similar by subject and what people say about it
  • Hacker's Delight
    Henry S. Warren Jr. · 2002 · recommended by 105 people · similar by subject and what people say about it
  • Advanced compiler design and implementation
    Steven S. Muchnick · 1997 · recommended by 13 people · similar by subject and what people say about it
  • Modern C++ Design
    Andrei Alexandrescu · 2001 · recommended by 29 people · similar by subject and what people say about it
  • Software Estimation
    Steve McConnell · 2006 · recommended by 58 people · similar by subject and what people say about it
  • Code
    Charles 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 Code
    Dustin Boswell · 2011 · recommended by 11 people · similar by subject and what people say about it
  • Gödel, Escher, Bach
    Douglas R. Hofstadter · 1979 · recommended by 505 people · 2 people recommended both
  • The C puzzle book
    Alan R. Feuer · 1982 · recommended by 10 people · similar by subject and what people say about it
  • But How Do It Know
    J. Scott Clark · 2009 · recommended by 21 people · similar by subject and what people say about it