News for hackers. Stuff that matters.
Re:Want to Write a Compiler? Just Read These Two Papers (2008) by _false on Wednesday April 15, 2026 @02:05PM (#47782887)
Great thread. If you have 1 hour to get started, I recommend opening Engineering a Compiler and studying Static Single-Assignment (SSA) from ch 9.3.

The book is famous for its SSA treatment. Chapters 1-8 are not required to understand SSA. This allows you to walk away with a clear win. Refer to 9.2 if you're struggling with dominance + liveness.

http://www.r-5.org/files/books/computers/compilers/writing/K...

Re:Want to Write a Compiler? Just Read These Two Papers (2008) by unclad5968 on Wednesday April 15, 2026 @05:58PM (#47785872)
I bought this book when I was working on a toy language and I think I was too stupid to understand most of it. The first few chapters were great, but it quickly surpassed my capacity to understand. Seeing it mentioned makes me want to revisit.