r/Compilers • • Oct 11 '26

Papers for new compiler devs

What papers do you suggest for new compiler developers to read for different parts of a compiler?

My most important recommendation would be Linear Scan Register Allocation for the Java HotSpotâ„¢ Client Compiler, the master thesis of Christian Wimmer. It is very well written, easy to understand, and covers a lot of practical details.

45 Upvotes

10 comments sorted by

View all comments

Show parent comment

4

u/splicer13 Oct 11 '26

Almost all your recs seem dated

  1. Cytron: No, dude. It's 40 pages long and notable because it was first-ish not because it explains anything well or simply. When you get SSA, everything is obvious and simple in retrospect. Cytron as a paper reflects all the work that went into 'getting it.' Just now it's just needless punishment. There's a paper from ETH that does it in like 3 pages if control flow is structured.

1a. Maybe Chow or another paper on various variants of SSA

2. Kildall: Very important historical interest, debatable if anyone would remember it if it wasn't by "the guy who wasn't bill gates."

3. Not preston briggs? Chaitan came first obviously but almost all first papers are crappy learning resources for practicing engineers.