/ About Me

Hello 👋, my name is Alistair. I'm a PhD student 🎓 at Cambridge working on programming languages research for OCaml 🐫. I hold an undergraduate degree in Computer Science 💻 from Queens' College, Cambridge, and work part-time as a Senior Software Engineer 👨‍💻 at TriliTech, building next-generation programming language compilers and tools for the Tezos blockchain.

Outside of work you'll often find me contributing to the OCaml ecosystem 🐫, running 🏃‍♂️, playing the piano 🎹, or baking 🍰.

/ Technologies

OCamlExpert
RustAdvanced
TypeScriptAdvanced
PythonAdvanced
CIntermediate
BashIntermediate
NixIntermediate
AWSAdvanced
DockerAdvanced
GraphQLIntermediate

/ Education

University of Cambridge

Doctorate of Philosophy (PhD), Computer Science

October 2024 - Present

Project: Typing OCaml in OCaml: A Constraint-Based Approach

Research on advanced constraint-based techniques for Hindley-Milner type inference, focusing on OCaml's advanced type system features including GADTs, overloading, and row polymorphism.

Supervisor: Jeremy Yallop

University of Cambridge

Bachelor of Arts, Computer Science

October 2019 - July 2022

  • • Third Year: Class I with distinction (3rd/113)
  • • Second Year: Class I (11th/123)
  • • Queens' College Joshua King Prize and President's Prize (2022)
  • • Cambridge Foundation Scholar (Computer Science)
  • • Winner of HackCambridge 2020, 2021 and 2022

Ellesmere College

A Levels

July 2019

  • • Further Maths A*, Maths A*, Physics A*, Computer Science A*
  • • Top 50 A Level Computer Science results in the UK

/ Projects

Grace

A cutting-edge OCaml library for building, reporting, and rendering beautiful compiler diagnostics.

OCaml
Compilers

Dromedary

Cambridge Part II dissertation implementing a constraint-based inference algorithm for a subset of OCaml.

OCaml
Type Systems
GADTs

ppx-open

OCaml pre-processor extension adding "selective" opens to OCaml, supporting values, types, modules and module types.

OCaml
Type Systems

3-Address Code Optimizer

Godbolt-style tool for compiler analyses and optimizations on a C-like language using 3-address codes.

OCaml
Compilers