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 Compiler design in C

    Compiler design in C

    Allen I. Holub · 1990

    Computer ScienceProgramming
    Open LibraryAmazon
    Stats for nerds
    11recommend
    28mentions
    18people
    2011–2026years
    61% recommend32% neutral7% critical

    Mentions per year

    201120132015201720192021202320252026

    What Hacker News says

    1. pjmlpApr 2026
      It was a product of its time I guess, much better ones from similar vintage,

      The Tiger book (with C, Standard ML, and Java variants)

      https://www.cs.princeton.edu/~appel/modern/

      Compiler Design in C (freely available nowadays, beware this is between K&R C and C89)

      https://holub.com/compiler/

      lcc, A Retargetable Compiler for ANSI C

      https://drh.github.io/lcc/

      Or if one wants to go with more clever stuff,

      Compiling with Continuations

      Lisp in Small Pieces

      thread
    2. pjmlpNov 2023
      Congratulations, good luck with your projects.

      Compilers was one of the first rabbit holes that drove my interest into computing.

      One of the books that I endless read multiple times, is nowadays available for free, and eventually interesting for your reading collection, even though it is about the compiler part not debugging.

      "Compiler Design in C"

      https://holub.com/compiler/

      It is a bit oldie, but maybe interesting.

      thread
    3. tzsNov 2022
      Although it is older than a fair number of HN readers, a great book from 1990 on compilers is Allen Holub's "Compiler Design in C". It's long out of print but there is a free PDF on Holub's website [1].

      The book covers the usual theory and then puts it to use to develop tools for writing compilers (e.g., lexical analyzer generators similar to lex and parser generators similar to yacc) and then with those tools develops a C compiler.

      [1] https://holub.com/compiler/

      thread
    4. pjmlpMar 2022
      If besides the author's book (good work), you want to delve into how others approach the subject, check

      - Retargetable C Compiler, A: Design and Implementation

      - Compiler Design in C

      thread
    5. coder4lifeSep 2021
      "Enough rope to shoot yourself in the foot - rules for C and C++ programmers" by Alan C Holub.

      And "Compiler design in C", also by him

      thread
    6. hasitsethApr 2021
      Alan Holub's 'Compiler Design in C' is not mentioned in the books. Holub's book had well-written code. I had learned a lot from his code.
      thread

    Related

    Cover of Modern compiler implementation in C
    2010–2024

    Modern compiler implementation in C

    Andrew W. Appel
    8 recommend · 13
    Cover of A retargetable C compiler
    2010–2026

    A retargetable C compiler

    Christopher W. Fraser
    9 recommend · 23
    Cover of The C companion
    2013–2026

    The C companion

    Allen I. Holub
    3 recommend · 7
    Cover of The annotated C++ reference manual
    2013–2026

    The annotated C++ reference manual

    Margaret A. Ellis
    2 recommend · 13
    Cover of Advanced programming language design
    2015–2026

    Advanced programming language design

    Raphael A. Finkel
    2 recommend · 7
    Cover of Compilers, principles, techniques, and tools
    2007–2026

    Compilers, principles, techniques, and tools

    Alfred V. Aho
    195 recommend · 958
    Cover of The C Programming Language
    2007–2026

    The C Programming Language

    Brian W. Kernighan
    246 recommend · 604
    Cover of Compiler construction
    2008–2026

    Compiler construction

    Niklaus Wirth
    30 recommend · 81