Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
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
    M

    Max Bernstein

    bernsteinbear.com · Personal blog · on HN since 2012

    Max Bernstein, a compiler engineer, writes about programming language implementation, optimizers, register allocation, and Lisp compilers.

    Visit blogRSSHN submissions
    Languages & CompilersProgramming
    What HN says

    HN commenters recommend his Lisp-in-OCaml series and compiler writing, though one finds the OCaml choice hard to follow alongside an unfamiliar topic.

    Stats for nerds
    68HN people shared it
    178linked in comments
    5.8Kstory points
    Apr 2026last shared
    2021people per year2026

    Top posts on HN

    1. 1
      You can use C-Reduce for any language
      3 people · 481 points · first shared 2024 · 113 comments on HN
    2. 2
      Writing that changed how I think about programming languages
      2 people · 471 points · first shared 2025 · 60 comments on HN
    3. 3
      Bytecode compilers and interpreters
      3 people · 351 points · first shared 2019 · 71 comments on HN
    4. 4
      scrapscript.py
      2 people · 316 points · first shared 2024 · 75 comments on HN
    5. 5
      A simple search engine from scratch
      1 person · 296 points · first shared 2025 · 59 comments on HN
    6. 6
      Microui+fenster=Small GUI
      2 people · 232 points · first shared 2024 · 36 comments on HN
    7. 7
      Adding row polymorphism to Damas-Hindley-Milner
      2 people · 211 points · first shared 2024 · 56 comments on HN
    8. 8
      Compilers for free with weval
      1 person · 204 points · first shared 2024 · 40 comments on HN
    9. 9
      How to mess with your roommate (2018)
      2 people · 164 points · first shared 2018 · 25 comments on HN
    10. 10
      Compiling a Lisp: Lambda lifting
      1 person · 162 points · first shared 2025 · 17 comments on HN

    What HN people wrote when they linked it

    • tiuNov 2025

      The comments are wildly fragmented in this thread. I agree with @torginus, the article has less and less of anything useful to people that want to get into compilers.

      Anyways, the "Who .. hires compiler engineer?" section is fairly vague in my opinion, so: AMD, Nvidia, Intel, Apple, Google definitely hire for compiler positions. These hire fairly 'in-open' so probably the best bets all around. Aside from this, Jane Street and Bloomberg also do hire at the peak tier but for that certain language. The off beat options are: Qualcomm, Modular, Amazon (AWS) and ARM. Also see, https://mgaudet.github.io/CompilerJobs/

      I seriously attempted getting into compilers last year before realising it is not for me but during those times it felt like people who want to be compiler devs are much much more in number compared to jobs that exist (yes exist, not vacant).

      The common way to get going is to do LLVM. Making a compiler is great and all but too many people exist with a lox interpreter-compiler or something taken from the two Go books. Contributing to LLVM (or friends like Carbon, Swift, Rust) or atleast some usage experience is the way. The other side of this is doing GNU GCC and friends but I have seen like only one opening that mentions this way as being relevant. University level courses are rarely of any use.

      Lastly, LLVM meetups/conferences are fairly common at most tech hubs and usually have a jobs section listing all requirements.

      A few resources since I already made this…

    • 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/

    • surprisetalkJan 2025

      Cool people:

      • https://tracydurnell.com

      • https://www.benkuhn.net

      • https://schmud.de

      • https://brandur.org

      • https://bytes.zone

      • https://cassidoo.co

      • https://www.chrbutler.com

      • https://sive.rs

      • https://fasterthanli.me

      • https://akkartik.name

      • https://www.todepond.com

      • https://blog.gingerbeardman.com

      • https://gwern.net

      • https://interconnected.org

      • https://jacobfilipp.com

      • https://johnnywebber.com

      • https://maggieappleton.com

      • https://bernsteinbear.com

      • https://pketh.org

      • https://rachsmith.com

      • https://sonnet.io

      • https://stevenscrawls.com

      • https://www.bookofjoe.com

      • https://winnielim.org

      ---

      Cool directories:

      • https://blogs.hn

      • https://ooh.directory

      • https://deadsimplesites.com

      • https://peopleandblogs.com

      • https://nownownow.com

      • https://blogroll.org

      • https://kagi.com/smallweb

    • ignoramousJan 2026

      > This is not what this article does.

      Discounting books, many other well written articles on JIT have been shared on HN over the years [0][1][2]; the one I particularly liked as it introduces the trinity in a concise way: Compiler, Interpreter, JIT https://nickdesaulniers.github.io/blog/2015/05/25/interpreter-compiler-jit / https://archive.vn/HaFlQ (2015).

      [0] How to JIT - an introduction, https://eli.thegreenplace.net/2013/11/05/how-to-jit-an-introduction (2013).

      [1] Bytecode compilers and interpreters, https://bernsteinbear.com/blog/bytecode-interpreters/ (2019).

      [2] Let's build a Simple Interp, https://ruslanspivak.com/lsbasi-part1/ (2015).

    • georgehmApr 2026

      I have fond memories of implementing an optimizing compiler for the CS241 compiler course offered back then by Prof Michael Franz who was a student of Niklaus Wirth, probably the most exhilarating course during my time at UC Irvine. This was in 2009 so my memory is vague but I recall he provided a virtual machine for a simple architecture called DLX and the compiler was to generate byte code for it.

      Google search points me to https://github.com/cesarghali/PL241-Compiler/blob/master/DLX.pdf for a description of the architecture and possibly https://bernsteinbear.com/assets/img/linear-scan-ra-context-ssa.pdf for the register allocation algorithm

    • sanufarJul 2025

      I love this book! I worked through a bunch of it during my winter break last year and found the incremental teaching style extremely rewarding. For readers of the book, Sandler’s reference OCaml implementation is super useful for getting your bearings. I was kind of thrown off by the use of TACKY as an IR, but it was nice to have a solid reference as I worked through the book. For those more experienced with compilers: what are some good resources for stuff like SSA and optimisation? I’ve looked at some of the resources here https://bernsteinbear.com/pl-resources/ but are there other canonical resources?

    Related

    Feabhas Blogblog.feabhas.com18 people

    ‘Abusing’ the C switch statement – beauty is in the eye of the beholder

    Feabhas Blog
    Company · last shared 2024
    The Craft of Codingcraftofcoding.wordpress.com18 people

    Fortran is easy to learn

    The Craft of Coding
    Personal · last shared 2025
    Lambda the Ultimatelambda-the-ultimate.org615 people

    Simon Peyton Jones Elected into the Royal Society Fellowship

    Lambda the Ultimate
    Publication · last shared 2026
    Edward Z. Yangblog.ezyang.com165 people

    PyTorch Internals: Ezyang's Blog

    Edward Z. Yang
    Personal · last shared 2026
    Wilfred Hugheswilfred.me.uk42 people

    Difftastic, the fantastic diff

    Wilfred Hughes
    Personal · last shared 2026
    John Regehrblog.regehr.org401 people

    Teaching C

    John Regehr
    Personal · last shared 2026
    Pointers Gone Wildpointersgonewild.com88 people

    The internet changed my life

    Pointers Gone Wild
    Personal · last shared 2026
    Peter Seibelgigamonkeys.com328 people

    Practical Common Lisp (2005)

    Peter Seibel
    Personal · last shared 2026