Read OSS

rust-lang/rust

3 articles

01

Read OSS Series Introduction

Introduction to the Read OSS 6-article series exploring open source codebases.

02

Architecture Overview and How to Navigate 75 Compiler Crates

A guided tour of the rust-lang/rust repository layout, compiler crate map, and the execution flow from the rustc binary to code generation.

03

The Query System — Demand-Driven Compilation and Incremental Reuse

Deep dive into rustc's query system: how demand-driven, memoized computations replaced the sequential pipeline and enable incremental compilation.