THE VIDEO SHELF · modern compiler construction
Anders Hejlsberg on Modern Compiler Construction
Anders Hejlsberg whiteboards how compilers are taught versus how modern ones are actually built. He explains the shift to compilers as services with incremental, error-tolerant, IDE-oriented design, as in Roslyn and TypeScript.
Why HN readers recommended it
It is the standard reference for why modern compilers and language servers differ from textbook designs, cited in rust-analyzer and parsing threads.
This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.
Video & recommendation details
- Creator / channel
- Kasper
- Topic
- modern compiler construction
- Format
- lecture
- Level
- intermediate
- HN recommenders in dataset
- 4
- HN mentions in dataset
- 10
- Recommendation years in dataset
- 2018–2023
These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.
From the original HN conversations
Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.
To better understand why this project is trying to re-implement the compiler frontend, I really recommend this video from Anders Hejlsberg (creator of C# and TypeScript) explaining how modern compiler construction oriented towards IDE works: [VIDEO]
ceronman on Hacker News · 2018-12
In Rust Analyzer in 2018 and 2019Microsoft's Roslyn [1] design (now called .NET Compiler Platform) is what I think any language should strive for, turning the classical black box of the compiler into an incremental pipeline where each stage is annotated/augmented/refined by different mechanisms such as type checkers. If each step …
atombender on Hacker News · 2020-02
In Rust Moving Towards an IDE-Friendly Compiler with Rust AnalyzerAnders Hejlsberg explains explains how “the IDE” way compiler works. First ~10 minutes is traditional compiler background. Then about ~8 minutes before he starts talking about how an IDE focused compiler works: [VIDEO]
robocat on Hacker News · 2020-04
In Rust-analyzer – an IDE backend for Rust
Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.