My first fifteen compilers (2019)
blog.sigplan.org·9h·
Discuss: Hacker News
Flag this post

Compilers are sophisticated software artifacts that transform a source-language program into a target-language program, usually by taking a series of passes over the input program. Each compiler pass may perform a transformation, such as closure conversion; it may perform an optimization, such as dead code elimination; or it may perform an analysis, the results of which can be used in later transformation and optimization passes.

We sometimes think of the number of passes in a compiler as a measure of the compiler’s complexity. The classic paper “From System F to Typed Assembly Language”, for example, explains that a compiler “may make as many as 20 passes over a single program, performing sophisticated analyses and transformat…

Similar Posts

Loading similar posts...