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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of book

book

Photo of C Compiler

C Compiler

Related news:

News photo

Introduction to Calvin and Hobbes: Sunday Pages 1985-1995 (2001)

News photo

Why I'm Writing a Book on Cryptography (2020)

News photo

Citi Says It’s Time to Book Profits in High-Flying AI Equities