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 Modern compiler design

    Modern compiler design

    Dick Grune · 2000

    While focusing on the essential techniques common to all language paradigms, this book provides readers with the skills required for modern compiler construction. All the major programming types (imperative, object-oriented, functional, logic, and distributed) are covered. Practical emphasis is placed on implementation and optimization techniques, which includes tools for automating compiler design.

    Computer ScienceProgramming
    Open LibraryAmazon
    Stats for nerds
    12recommend
    30mentions
    20people
    2008–2026years
    70% recommend27% neutral3% critical

    Mentions per year

    2008201020122014201620182020202220242026

    What Hacker News says

    1. sargstuffAug 2022
      Older editions have solutions to the exercises in book available on line (via search engine such as google)

      ### Some of the following assume an advanced backround:

      Structure and Interpretation of Computer Programs , Abelson & Sussman &

      Engineering a compiler, K.D. Cooper & L. Torczon

      Modern Compiler Design (Worldwide Series in Computer Science),

      Build Your Own Programming Language: A programmer's guide to designing compilers, interpreters, and DSLs for solving modern computing problems, C Jeffery

      ### Alternate suggestions:

      Aho et al. book covers quite a broad variety of topics/discussions. There are resources that cover more current approaches / more indepth for a given topic/specific subject matter than would be possible in Aho et.

      Depending on requirements/needs, on-line resources/courses/topics can provide access to more modern/quicker feedback:

      search compiler on https://www.geeksforgeeks.org/

      software perspectiv, https://program-transformation.org/

      research intensive, look at specific book/documentation on how a language is/was implimented, aka cpython, java, compiling lisp, smalltalk-80, forth

      General resource sites (per looking for something less expensive): https://github.com/aalhour/awesome-compilers / https://bernsteinbear.com/pl-resources/

      thread
    2. andersyrOct 2019
      If anyone is curious about an updated resource, I've found Modern Compiler Design much more approachable than the Dragon Book: Published in 2012, it includes chapters on designing object-oriented, functional, and logical compilers.

      https://www.springer.com/gp/book/9781461446989

      thread
    3. DearVoltJan 2017
      Wow, that's awesome! I picked up mine second hand at a textbook distributor for the equivalent of about $30.

      For anyone interested in other books on compiler construction, I would recommend these:

      - "The Basics of Compiler Design" by Torben Mogensen

      - "Modern Compiler Implementation in C" by Andrew Appel (ML and Java versions available too)

      - "Modern Compiler Design" by Grune, Bal et al.

      The Dragon Book is obviously infamous for this topic, but I would recommend covering at least two slightly more basic texts before taking it on.

      thread
    4. Ace17Dec 2015
      For the actual implementation of a compiler (not design of the language itself), I'd recommend "Modern Compiler Design" by Dick Grune. A lot more practical and readable than the Dragon Book.

      About the language design itself, you might want to have a look to: http://www.drdobbs.com/architecture-and-design/so-you-want-t... These are very interesting guidelines from Walter Bright, the man behind the D programming language.

      thread
    5. sklogicDec 2015
      Not sure if there are any books around LLVM or gcc, but there is a lot of up to date texts.

      Grune at al., "Modern Compiler Design",

      Appel, "Modern Compiler Implementation in ML",

      and many more.

      P.S. Because of a slow-ban, adding another one to this answer. This is the best source on SSA:

      http://www.cri.ensmp.fr/people/pop/papers/2006-12-thesis.pdf

      thread
    6. Ace17Dec 2015
      Dick Grune - Modern Compiler Design
      thread

    Related

    Cover of Advanced compiler design and implementation
    2008–2025

    Advanced compiler design and implementation

    Steven S. Muchnick
    13 recommend · 25
    Cover of Engineering a compiler
    2007–2026

    Engineering a compiler

    Keith D. Cooper
    39 recommend · 91
    Cover of Modern compiler implementation in ML
    2009–2024

    Modern compiler implementation in ML

    Andrew W. Appel
    24 recommend · 68
    Basics of compiler designTorben ©. Mogensen
    2008–2019

    Basics of compiler design

    Torben ©. Mogensen
    4 recommend · 9
    Cover of Modern compiler implementation in C
    2010–2024

    Modern compiler implementation in C

    Andrew W. Appel
    8 recommend · 13
    Cover of Compiler construction
    2008–2026

    Compiler construction

    Niklaus Wirth
    30 recommend · 81
    Cover of A retargetable C compiler
    2010–2026

    A retargetable C compiler

    Christopher W. Fraser
    9 recommend · 23
    Cover of Programming Language Pragmatics
    2008–2026

    Programming Language Pragmatics

    Michael L. Scott
    31 recommend · 54