Skip to content

Instantly share code, notes, and snippets.

@mrnugget
Last active February 21, 2024 15:42
Show Gist options
  • Star 19 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save mrnugget/92431f78b898cdbb1599d0699f1c4aa2 to your computer and use it in GitHub Desktop.
Save mrnugget/92431f78b898cdbb1599d0699f1c4aa2 to your computer and use it in GitHub Desktop.
Tucan Bibliography. Majority of the resources I used to build Tucan, my toy optimizing compiler in Rust

Tucan - Bibliography

Majority of the resources I used to build Tucan, my toy optimizing compiler in Rust. This list is not complete but most of the things listed here are things I really read through and used.

Books

  • Engineering a compiler (I use this a lot! For SSA, dominance and optimizations)
  • Static Single Assignment Book (I use this a lot!)
  • Types And Programming Languages

Papers

General

  • Abdulaziz Ghuloum - An Incremental Approach to Compiler Construction
  • Abdulaziz Ghuloum - Compilers: Backend to Frontend and Back To Front Again

SSA

IR

Regalloc

Liveness Analysis

Loops

Optimizations

Slides & Lectures

Other

IR

SSA

Register Allocation

Optimizations

Types

Codegen

Go compiler

Rust's compiler

Rust compiler has some good code to read:

Co

Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment