Computer Science
>
>

CS 143 Compilers

Spring 2022

Stanford University

Combination of theoretical and practical perspectives on compiler design. This course emphasizes correctness over performance, providing a deep understanding of compiler structure and functioning.

Course Page

Overview

Course Structure

  • Course has theoretical and practical aspects
  • Need both in programming languages!
  • Written assignments + exams = theory
  • Programming assignments = practice

Prerequisites

No data.

Learning objectives

Open the lid of compilers and see inside

  • Understand what they do
  • Understand how they work
  • Understand how to build them

Correctness over performance

  • Correctness is essential in compilers
  • They must produce correct code
  • CS143 is more like CS103+CS110 than CS107
  • Other classes focus on performance (CS149, CS243)

Textbooks and other notes

There is no required textbook. You can optionally use “Compilers: Principles, Techniques, and Tools” by Aho, Lam, Sethi and Ullman as a reference.

Other courses in Compilers

CS 243: Program Analysis and Optimizations

Winter 2023

Stanford University

15-411 Compiler Design

Fall 2020

Carnegie Mellon University

Courseware availability

Lecture slides available at Lectures

No videos available

Assignments available at Assignements

Handouts available at Handouts

Resources available at Resources

Covered concepts