Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Zen of assembly language

    Zen of assembly language

    Michael Abrash · 1990

    The most comprehensive treatment of advanced assembler programming ever published, this book presents a way of programming that involves intuitive, right-brain thinking. Also probes hardware aspects that affect code performance and compares programming techniques.

    Programming
    Open LibraryAmazon
    Stats for nerds
    6recommend
    15mentions
    10people
    2010–2025years
    53% recommend47% neutral

    Mentions per year

    201020122014201620182020202220242025

    What Hacker News says

    1. pjmlpAug 2025
      C only got to its performance state, when optimizing compilers taking advantage of UB started being common thing, during the 8 and 16 bit home computer days they were hardly any better than writing Assembly by hand, hence why books like Zen of Assembly Language left such a mark.

      So if we are speaking of optimizing compilers there is MLton, while ensuring that the application doesn't blow up in strange ways.

      The problem is not people getting to learn these features from Rust, glad that they do, the issue is that they think Rust invented them.

      thread
    2. ghaffNov 2024
      A fascinating peek into the fairly deep past (sigh) is Abrash's The Zen of Assembly language. Time pretty much overtook a planned Volume 2 but the Volume 1 is still a pretty fascinating read for a time when tweaking optimization for pre-fetch queues and the like was still a thing.
      thread
    3. lapsis_beeftechNov 2021
      You might be thinking of "Zen of Assembly Language" or "Zen of Code Optimization" by the brilliant Michael Abrash. I own the latter and in addition to plenty of low-level code optimization advice for the microprocessors available at the time it also includes timer code for DOS that lets you measure code performance with high precision.
      thread
    4. jonmalNov 2020
      Michael Abrash! Wow, this brings back some found memories, as reading Zen of Assembly Language.
      thread
    5. pjmlpApr 2020
      It is now about 20 years old, but you can start with "Zen of Assembly Language" and carry on with "Graphics Programming Black Book".

      https://github.com/jagregory/abrash-zen-of-asm

      https://github.com/jagregory/abrash-black-book

      thread
    6. ArjunaJun 2014
      Wow... for that hardware, a 4.77MHz 8088 PC with CGA graphics and Sound Blaster audio, those stats are overwhelming:

      1. Variable frame-rates up to 60 FPS.

      2. Audio rates to 45kHz.

      3. 16 colors through composite artifacting.

      4. Simultaneous color and B&W output.

      On a related note, you will probably be interested in Michael Abrash's Zen of Assembly Language. From the "README.md":

      "This is the source for an ebook version of Michael Abrash's Zen of Assembly Language: Volume I, Knowledge, originally published in 1990. Reproduced with blessing of Michael Abrash, converted and maintained by James Gregory. Original conversion produced by Ron Welch."

      https://github.com/jagregory/abrash-zen-of-asm

      thread

    Related

    Cover of Assembly language for the PC
    2009–2021

    Assembly language for the PC

    John Socha
    2 recommend · 3
    Cover of Zen of code optimization
    2010–2026

    Zen of code optimization

    Michael Abrash
    5 recommend · 12
    Cover of Zen of Graphics Programming
    2011–2026

    Zen of Graphics Programming

    Michael Abrash
    8 recommend · 12
    Cover of The art of Assembly language
    2008–2026

    The art of Assembly language

    Randall Hyde
    18 recommend · 24
    Cover of The C Programming Language
    2007–2026

    The C Programming Language

    Brian W. Kernighan
    246 recommend · 604
    Cover of Compilers, principles, techniques, and tools
    2007–2026

    Compilers, principles, techniques, and tools

    Alfred V. Aho
    195 recommend · 958
    Cover of Professional assembly language
    2009–2023

    Professional assembly language

    Richard Blum
    5 recommend · 7
    Cover of The Pragmatic Programmer
    2007–2026

    The Pragmatic Programmer

    Andy Hunt
    353 recommend · 700