Programming Languages and Runtime Systems

  1. Lexical Scope and Closure Environments

    Follow a function value after it leaves its defining block and determine which binding each free variable uses.

    Graduate
  2. De Bruijn Indices and Binder Depth

    Represent bound variables by the number of enclosing binders between an occurrence and its definition, then see why moving terms requires shifting indices.

    Graduate
  3. Gradual Types and Runtime Cast Boundaries

    Follow a value across a typed boundary and see why checking a function requires obligations on later calls and returns.

    Graduate
  4. Stack Frames and Activation Records

    Trace how recursive calls keep independent local values and how escaping variables change where a binding must live.

    Graduate
  5. Tail Calls and Frame Reuse

    Identify when no work remains after a call and use that condition to explain constant stack usage for a tail-recursive loop.

    Graduate
  6. Operand-Stack Bytecode and Stack Effects

    Track the stack height of arithmetic bytecode and check that different incoming paths leave compatible operand states.

    Graduate
  7. Closure Conversion and Free-Variable Layout

    Rewrite nested functions into code plus an explicit environment and account for copied values, shared locations, and recursive binding.

    Graduate
  8. Continuation-Passing Style and Explicit Control

    Represent the rest of a computation as a function and preserve source evaluation order through nested continuations.

    Graduate
  9. Effect Operations, Handlers, and Resumption

    Separate a request made by a computation from the interpretation supplied by a handler and trace what resuming means.

    Graduate
  10. Term Rewriting, Termination, and Confluence

    Recognize a branching rewrite system and determine whether different legal reduction orders give a common result.

    Graduate
  11. Contextual Equivalence and Observable Behavior

    Compare expressions by all well-typed enclosing contexts and use a small context to distinguish two behaviors.

    Graduate
  12. Ownership, Borrowing, and Resource Lifetimes

    Use a unique owning capability and temporary borrows to justify reclamation and exclude conflicting access patterns.

    Graduate
  13. Tagged Values and Representation Invariants

    Use a tag bit to distinguish immediate integers from aligned references and calculate the integer range that remains.

    Graduate
  14. Tracing Collection with Mark and Sweep

    Compute live objects as a reachability problem and keep the worklist invariant visible during tracing.

    Graduate
  15. Copying Collection and Forwarding Pointers

    Relocate live objects into a fresh space while preserving reference sharing and avoiding duplicate copies.

    Graduate
  16. Generational Collection and Remembered Sets

    Trace a young heap without rescanning every older object and explain why recording old-to-young writes is necessary.

    Graduate
  17. Reference Counting and Object Cycles

    Track incoming references so zero-count objects can be reclaimed promptly, then reason about the strongly connected case.

    Graduate
  18. Escape Analysis and Scalar Replacement

    Determine whether an allocation’s identity can be observed outside a region and use that fact to eliminate storage work.

    Graduate
  19. JIT Specialization, Guards, and Deoptimization

    Specialize a frequent value shape under a runtime guard and reconstruct the general execution state when the guard fails.

    Graduate
  20. Partial Evaluation and Residual Programs

    Specialize a program on known inputs and identify which work and effects must remain in the residual program.

    Graduate