Home Explore Blog CI



rustc

src/part-2-intro.md
5395244c028f1cc1139aea5a104ba5d46970d39e5bb0efbb0000000300000351
# High-Level Compiler Architecture

The remaining parts of this guide discuss how the compiler works. They go
through everything from high-level structure of the compiler to how each stage
of compilation works. They should be friendly to both readers interested in the
end-to-end process of compilation _and_ readers interested in learning about a
specific system they wish to contribute to. If anything is unclear, feel free
to file an issue on the [rustc-dev-guide
repo](https://github.com/rust-lang/rustc-dev-guide/issues) or contact the compiler
team, as detailed in [this chapter from Part 1](./compiler-team.md).

In this part, we will look at the high-level architecture of the compiler. In
particular, we will look at three overarching design choices that impact the
whole compiler: the query system, incremental compilation, and interning.

Chunks
703c6121 (1st chunk of `src/part-2-intro.md`)
Title: High-Level Compiler Architecture Overview
Summary
This section introduces the high-level architecture of the Rust compiler. It serves as an overview for the subsequent parts of the guide, which will delve into the end-to-end compilation process and specific systems within the compiler. It highlights three key design choices: the query system, incremental compilation, and interning.