Get the latest tech news
'Writing a C Compiler' is a book (2022)
Update here.
At the same time, I wanted to write this book for a broad audience, not just people who already know assembly code or have the C standard memorized. Part III covers a few classic optimizations, like constant folding, dead code elimination, and register allocation. The most obvious problem is that the original design produced 32-bit x86 assembly, which was quickly becoming obsolete even when I first started the project back in 2017.
Or read this on Hacker News