Selected work

Projects.

A selection of systems I have built, from language models and compilers to simulations and robots.

Selected projects

More on GitHub
Terminal demonstration of the TinyML language model

A GPT-like model in pure C++.

A minimal implementation of the TinyStories-33M architecture, with a custom tensor library, neural network framework, and cached inference.

  • C++
  • Deep learning
  • Transformers
A frame from the GPU smoke simulation demo

Fluid simulation on the GPU.

A CUDA smoke simulator combining a grid-based semi-Lagrangian method with ray marching, self-shadowing, and voxelization.

  • CUDA
  • OpenGL
  • Computer graphics
Architecture diagram of the Javalette compiler

From source code to LLVM.

A compiler for a language combining C and Java features, with a BNFC frontend, multi-stage type checking, and an LLVM backend.

  • LLVM
  • Compilers
  • Language design
Illustration of a flowing particle field, representing the project's physics simulation focusParticle-field illustration

One system. Many ways to move.

A particle-based physics system for fluids, cloth, and interactive simulations, with real-time rendering and scene controls.

  • Physics simulation
  • Particles
  • Rendering