15312 Foundations Of Programming Languages ✦ Verified & Reliable
The formal logic behind garbage collection and resource allocation. 4. The Safety Theorem
Once you understand the underlying types (sums, products, functions), every new language is just a different combination of the same fundamental building blocks.
To master the material covered in 15-312, the primary text is almost always by Robert Harper. It is a dense, rigorous, but incredibly rewarding guide to the field. 15312 foundations of programming languages
Originally developed at Carnegie Mellon University, this course has become a gold standard for understanding how programming languages actually work—not just how to type syntax, but the mathematical soul of computation itself. What is 15-312 About?
You start thinking like a type checker. You begin to catch "impossible" bugs before you even hit compile because you've designed your data structures to be mathematically sound. The formal logic behind garbage collection and resource
If you ever want to build your own DSL (Domain Specific Language) or contribute to a major compiler like LLVM or Rust, these foundations are non-negotiable. Recommended Resources
At its core, 15-312 is about the . When you write x = x + 1 , why does the computer know what to do? To master the material covered in 15-312, the
The "Dynamics" describe how a program steps from one state to the next. Using , you write rules that dictate exactly how an expression evaluates. This is where you learn about: