Languages, Compilers and Interpreters

Take historical note of textile and steel industries:
do you want to build machines and tools,
or do you want to operate those machines?
— Ras Bodik, re “why learn about compilers”

Most programmers learn languages, whereas most computer scientists learn about languages.

This gives the computer scientist a distinct advantage over the programmer, even in the domain of programming! Their knowledge generalizes; they are able to understand the operation of a new language more deeply and expeditiously than those who have merely learnt specific languages.

The course is scoped to give software engineers a first look under the covers of popular languages and their implementations. Compared to a typical compilers course, some of the details of compiler design are treated summarily, so as to afford more time building a stronger understanding of the general design of languages and operation of compilers and interpreters.


  1. Overview and History
  2. Lexical Analysis and FSAs
  3. Parsing Algorithms
  4. Semantic Analysis and Type Checking
  5. Stack-based Virtual Machines
  6. Code Generation and Just-in-time Compilation
  7. Optimization and Tradeoffs
  8. Runtime Environments, Stack Management and Garbage Collection
  9. Language Design Considerations and Applications

Projects and exercises

This course has a significant practical component: you will write an interpreter for a simplified version of JavaScript, in your language of choice. Additional exercises are included where helpful, for instance profiling and optimization exercises to better understand existing sophisticated optimizers.

Assumed knowledge

This course assumes confident programming ability in any language. Familiarity with computer architecture is also advantageous.

Schedule and price

This course will next run 5:30pm-8:00pm Mondays and Thursdays from 5 February 2018 to 1 March 2018. The total price is $1,800.

Apply now Still have questions? Contact us.
After learning about languages and compilers with Bradfield, I feel like I have a massive head start in weighing and learning new languages. A language like Golang isn’t a complete black box to me any more; it’s statically typed, compiled, garbage-collected, and concurrency-enabled. Knowing how each of these aspects affect the programming experience gives me a grasp on large pieces of the language before even looking at its syntax.
Tiger Shen portrait
Tiger Shen, Software Engineer at Braintree

[email protected]
576 Natoma St
San Francisco, California
© 2016 Bradfield School of Computer Science