A conference talk transcript exploring how compiler theory and static analysis are deeply embedded in frontend/JavaScript development. The speaker covers three practical use cases: modernizing large codebases with codemods (JSCodeshift, jscodeshift, ts-morph), understanding millions of lines of user-generated code via Babel-based static analysis, and generating TypeScript definitions from JSON. The second half examines how major frameworks (React Compiler, Svelte, SolidJS) and tools (Million.js, Prepack, Astro) leverage compiler techniques like alias analysis, SSA form, and type inference. The talk argues that compiler knowledge makes frontend developers better at evaluating edge cases and architectural decisions, and that compilers are not just for systems programmers.

46m watch time
1 Comment

Sort: