u/miki151zenon-lang.orgin r/ProgrammingLanguages • Recommends
#incrementalcompilation#salsa#rustc
Responsive compilers - Nicholas Matsakis - PLISS 2019
908 subscribers • 3 videos on Hallway
- Recommended by 4 people: 1 on Lobsters and 3 in engineering communities.
- A classic. People kept recommending it from 2019 to 2024.
- Presented by Nicholas Matsakis
Advanced. Deep dive for people who know the field.
16K views7 years ago4 recommendations
Programming languagesSystems programmingCompilers and interpretersRustVim, Emacs and editors
Nicholas Matsakis explains how the Rust team restructured the compiler to support incremental compilation and IDE integration using a query-based architecture.
Many compiler textbooks and courses treat compilation as a "batch process", where the compiler takes in a bunch of input files, executes a suite of comiler passes, and ultimately produces object code as output. Increasingly, though, users expect integration with IDEs like VSCode, which requires a different structure. Moreover, many languages have recursive constructs where the correct processing order is difficult to determine statically. Nicholas will discuss some of the work the Rust team has been doing on restructuring the compiler to support incremental compilation and IDE integration. Slides: nikomatsakis.github.io/pliss-2019/responsive-compilers.html Part of PLISS'19: pliss2019.github.io/Why it's here
4 people recommend thisWhat people say. Recommended as the clearest explanation of the compiler-as-a-service architecture and incremental compilation.
u/bjzabaPikelet, Unnamed Binary DDLin r/ProgrammingLanguages • Recommends
u/Thnikkaman14in r/ProgrammingLanguages • Recommends
inactive-useron Lobsters • Recommends
u/pein_samain r/ProgrammingLanguages • Mentions
On “As a Vim enthusiast, had an idea for a language...”
u/oilshellin r/ProgrammingLanguages • Mentions
On “Language Server built into the compiler ?”
u/cxzukin r/ProgrammingLanguages • Mentions
On “Why incremental parsing matters?”
u/mttdin r/ProgrammingLanguages • Mentions
On “References about parsers used in IDE”
u/scottmcmrust🦀in r/ProgrammingLanguages • Mentions
On “Unison: A Friendly Programming Language from the Future • Runar Bjarnason”
u/bluehavanain r/ProgrammingLanguages • Mentions
On “Advice/best practice/arhitecture pattern for building language with LSP in mind?”
u/scottmcmrust🦀in r/ProgrammingLanguages • Mentions
On “How we make the Futhark compiler crash”
u/scottmcmrust🦀in r/ProgrammingLanguages • Mentions
On “Resources on writing a parallel compiler”
u/bjzabaPikelet, Fathomin r/ProgrammingLanguages • Mentions
On “Should my compiler stop after the first file with errors?”
u/pein_samain r/ProgrammingLanguages • Mentions
On “A different / new way to write compilers?”
u/scottmcmrust🦀in r/ProgrammingLanguages • Mentions
On “How do you separate the different stages of your compilation pipeline?”
u/scottmcmrust🦀in r/ProgrammingLanguages • Mentions
On “Does anyone have issues with tightly coupled implementations?”