From 0055ac3fb105ff5fc18542d3aabdbb0e044a8235 Mon Sep 17 00:00:00 2001 From: jyn Date: Sat, 29 Aug 2026 09:39:56 +0200 Subject: [PATCH 1/2] add some more compiler internals videos --- src/appendix/compiler-lecture.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/appendix/compiler-lecture.md b/src/appendix/compiler-lecture.md index 0bd4c6eb13..15a6799544 100644 --- a/src/appendix/compiler-lecture.md +++ b/src/appendix/compiler-lecture.md @@ -6,7 +6,21 @@ These are videos where various experts explain different parts of the compiler: - [January 2019: Tom Tromey discusses debugging support in rustc](https://www.youtube.com/watch?v=elBxMRSNYr4) - [June 2019: Responsive compilers - Nicholas Matsakis - PLISS 2019](https://www.youtube.com/watch?v=N6b44kMS6OM) - [June 2019: Things I Learned (TIL) - Nicholas Matsakis - PLISS 2019](https://www.youtube.com/watch?v=LIYkT3p5gTs) +- [May 2021: Peeking at compiler-internal data (for fun and profit)](https://www.youtube.com/watch?v=SKmd5A-1cSE) +- [September 2021: Hacking rustc: Contributing to the compiler](https://www.youtube.com/watch?v=9H9SO2u6Q20) +- [September 2022: Bootstrapping: The once and future compiler](https://www.youtube.com/watch?v=oUIjG-y4zaA) - [October 2022: Rustc Explore](https://www.youtube.com/playlist?list=PL85XCvVPmGQj3-MujOJ0jcoSqQ6Yi6Rkk) +- [November 2024: Rust compiler overview](https://www.youtube.com/watch?v=8E7I0EGRXo0) +- [November 2024: The current state and future of Rust compiler performance](https://www.youtube.com/watch?v=Lye2xeJ3O5w) +- [March 2025: Rustlantis: Randomized differential testing of the Rust compiler](https://www.youtube.com/watch?v=0jqI8M1xzj4) +- [June 2025: (Almost) everything you should know about the compiler frontend](https://www.youtube.com/watch?v=aFG5KtpEynk) +- [September 2025: How doctests work](https://www.youtube.com/watch?v=NmgNi6kFXZI) +- [October 2025: Stable MIR: Fork the Rust compiler pipeline and go beyond](https://www.youtube.com/watch?v=lfi2pCOaGGk) +- [November 2025: How Rust compiles](https://www.youtube.com/watch?v=G1g6Me1FHmE) +- [June 2026: Compilers are just programs: Fixing a bug in the Rust compiler](https://www.youtube.com/watch?v=osTwwllrgeA) +- [June 2026: Out-of-tree access to compiler state](https://www.youtube.com/watch?v=ExxxtADP-t8) +- [June 2026: Precise, consistent, and reliable code coverage](https://www.youtube.com/watch?v=P9lmSc4oLFs) +- [June 2026: Rethinking the incremental system in between compilation types](https://www.youtube.com/watch?v=aRwK5dbJy3Y) ## Rust Analyzer - [January 2019: How Salsa Works](https://www.youtube.com/watch?v=_muY4HjSqVw) @@ -22,6 +36,7 @@ These are videos where various experts explain different parts of the compiler: - [February 2019: Universes and Lifetimes](https://www.youtube.com/watch?v=iV1Z0xYXkck) - [April 2019: Representing types in rustc](https://www.youtube.com/watch?v=c01TsOsr3-c) - [March 2019: RFC #2229 Disjoint Field Capture plan](https://www.youtube.com/watch?v=UTXOptVMuIc) +- [December 2025: `-Znext-solver`: What, why, and when](https://www.youtube.com/watch?v=HUVjZyANCjM) ## Closures - [October 2018: closures and upvar capture](https://www.youtube.com/watch?v=fMopdkn5-Xw) @@ -37,9 +52,11 @@ These are videos where various experts explain different parts of the compiler: ## Polonius - [March 2019: Polonius-rustc walkthrough](https://www.youtube.com/watch?v=i5KdU0ieb_A) - [May 2019: Polonius WG: Initialization and move tracking](https://www.youtube.com/watch?v=ilv9V-328HI) +- [March 2025: The first six years in the development of Polonius](https://www.youtube.com/watch?v=ThvFHval7Gk) ## Miri - [March 2019: oli-obk on miri and constant evaluation](https://www.youtube.com/watch?v=5Pm2C1YXrvM) +- [June 2026: FFI in Miri at 8,000 segfaults per second](https://www.youtube.com/watch?v=9X-ngiKo_Y0) ## Async - [February 2019: async-await implementation plans](https://www.youtube.com/watch?v=xe2_whJWBC0) @@ -47,4 +64,5 @@ These are videos where various experts explain different parts of the compiler: ## Code Generation - [January 2019: Cranelift](https://www.youtube.com/watch?v=9OIA7DTFQWU) +- [December 2024: Rust unlinked: A journey through rustc, linkers, symbols, and static libraries](https://www.youtube.com/watch?v=I0JvqbRCI2U) - [December 2024: LLVM Developers' Meeting - Rust ❤️ LLVM](https://www.youtube.com/watch?v=Kqz-umsAnk8) From edcbaf343dc6d637e0cbf3f54e2273a8c7e328a2 Mon Sep 17 00:00:00 2001 From: jyn Date: Sat, 29 Aug 2026 09:45:16 +0200 Subject: [PATCH 2/2] reorganize lectures into subsections --- src/appendix/compiler-lecture.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/appendix/compiler-lecture.md b/src/appendix/compiler-lecture.md index 15a6799544..6911b21544 100644 --- a/src/appendix/compiler-lecture.md +++ b/src/appendix/compiler-lecture.md @@ -2,23 +2,27 @@ These are videos where various experts explain different parts of the compiler: -## General -- [January 2019: Tom Tromey discusses debugging support in rustc](https://www.youtube.com/watch?v=elBxMRSNYr4) -- [June 2019: Responsive compilers - Nicholas Matsakis - PLISS 2019](https://www.youtube.com/watch?v=N6b44kMS6OM) -- [June 2019: Things I Learned (TIL) - Nicholas Matsakis - PLISS 2019](https://www.youtube.com/watch?v=LIYkT3p5gTs) -- [May 2021: Peeking at compiler-internal data (for fun and profit)](https://www.youtube.com/watch?v=SKmd5A-1cSE) -- [September 2021: Hacking rustc: Contributing to the compiler](https://www.youtube.com/watch?v=9H9SO2u6Q20) +## Compiler architecture - [September 2022: Bootstrapping: The once and future compiler](https://www.youtube.com/watch?v=oUIjG-y4zaA) -- [October 2022: Rustc Explore](https://www.youtube.com/playlist?list=PL85XCvVPmGQj3-MujOJ0jcoSqQ6Yi6Rkk) - [November 2024: Rust compiler overview](https://www.youtube.com/watch?v=8E7I0EGRXo0) -- [November 2024: The current state and future of Rust compiler performance](https://www.youtube.com/watch?v=Lye2xeJ3O5w) -- [March 2025: Rustlantis: Randomized differential testing of the Rust compiler](https://www.youtube.com/watch?v=0jqI8M1xzj4) - [June 2025: (Almost) everything you should know about the compiler frontend](https://www.youtube.com/watch?v=aFG5KtpEynk) -- [September 2025: How doctests work](https://www.youtube.com/watch?v=NmgNi6kFXZI) - [October 2025: Stable MIR: Fork the Rust compiler pipeline and go beyond](https://www.youtube.com/watch?v=lfi2pCOaGGk) - [November 2025: How Rust compiles](https://www.youtube.com/watch?v=G1g6Me1FHmE) + +## Contributing and compiler tooling +- [January 2019: Tom Tromey discusses debugging support in rustc](https://www.youtube.com/watch?v=elBxMRSNYr4) +- [May 2021: Peeking at compiler-internal data (for fun and profit)](https://www.youtube.com/watch?v=SKmd5A-1cSE) +- [September 2021: Hacking rustc: Contributing to the compiler](https://www.youtube.com/watch?v=9H9SO2u6Q20) +- [October 2022: Rustc Explore](https://www.youtube.com/playlist?list=PL85XCvVPmGQj3-MujOJ0jcoSqQ6Yi6Rkk) +- [September 2025: How doctests work](https://www.youtube.com/watch?v=NmgNi6kFXZI) - [June 2026: Compilers are just programs: Fixing a bug in the Rust compiler](https://www.youtube.com/watch?v=osTwwllrgeA) - [June 2026: Out-of-tree access to compiler state](https://www.youtube.com/watch?v=ExxxtADP-t8) + +## Performance and compiler testing +- [June 2019: Responsive compilers - Nicholas Matsakis - PLISS 2019](https://www.youtube.com/watch?v=N6b44kMS6OM) +- [June 2019: Things I Learned (TIL) - Nicholas Matsakis - PLISS 2019](https://www.youtube.com/watch?v=LIYkT3p5gTs) +- [November 2024: The current state and future of Rust compiler performance](https://www.youtube.com/watch?v=Lye2xeJ3O5w) +- [March 2025: Rustlantis: Randomized differential testing of the Rust compiler](https://www.youtube.com/watch?v=0jqI8M1xzj4) - [June 2026: Precise, consistent, and reliable code coverage](https://www.youtube.com/watch?v=P9lmSc4oLFs) - [June 2026: Rethinking the incremental system in between compilation types](https://www.youtube.com/watch?v=aRwK5dbJy3Y)