hackertube.io

Anders Hejlsberg on Modern Compiler Construction

Kasper · lecture · Watch on YouTube

What it is

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 Hacker News recommends it

It is the standard reference for why modern compilers and language servers differ from textbook designs, cited in rust-analyzer and parsing threads.

  • 4 people recommended it
  • 4 different months
  • 0 strong recommendations
  • first 2018, last 2023

What HN commenters said

  1. “I really recommend this video from Anders Hejlsberg (creator of C# and TypeScript)”

    Explains how modern IDE-oriented compilers are built.

    ceronman, 2018-12 · Recommendation · in “Rust Analyzer in 2018 and 2019”

  2. “Anders Heljsberg has a great little lecture [2] about it.”

    Short lecture on incremental IDE-friendly compiler design.

    atombender, 2020-02 · Recommendation · in “Rust Moving Towards an IDE-Friendly Compiler with Rust Analyzer”

  3. “Anders Hejlsberg explains explains how “the IDE” way compiler works.”

    Covers traditional compilers, then IDE-focused compiler design.

    robocat, 2020-04 · Recommendation · in “Rust-analyzer – an IDE backend for Rust”

  4. “I saw this great interview recently with Anders Hejlsberg at MSFT”

    How modern compiler construction differs from traditional university courses.

    vector_spaces, 2020-12 · Recommendation · in “Advanced Compilers: Self-Guided Online Course”

Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.

Topics: compilers, ide tooling, roslyn, typescript, incremental compilation, language servers

Also recommended by the same people