←back to thread

366 points nils-m-holm | 4 comments | | HN request time: 0.001s | source
1. Fraterkes ◴[] No.45070495[source]
Has anyone here read his “Practical Compiler Construction”? It’s on of the shorter compiler books Ive seen, seems like it might be a good way to learn a bit more about assembly
replies(1): >>45072919 #
2. shoobiedoo ◴[] No.45072919[source]
I was very curious about this too. I've had my finger hovering over the "buy" button for months but there are next to no reviews on it. I'm wondering how it differs from other, similar works
replies(1): >>45073115 #
3. nils-m-holm ◴[] No.45073115[source]
There are always the sample chapters, and the code from the book is in the public domain. :)

The book is basically a modern and more complete version of the "Small C Handbook" of the 1980's. I goes through all the stages of compilation, including simple optimizations, but keeps complexity to a minimum. So if you just want to learn about compiler writing and see what a complete C compiler look like under the hood, without investing too much into theory, then this is probably one of very few books that will deliver.

Edit: and then Warren Toomey has written "A Compiler Writing Journey" based on PCC, which may shed a bit more light on the book: https://github.com/DoctorWkt/acwj

replies(1): >>45073873 #
4. Fraterkes ◴[] No.45073873{3}[source]
Thx, I’m going to buy it I think!