All projects Work

Latency Lab

A C++ systems course with a sandboxed compiler in the browser.

At a glance

Role
Author and engineer: curriculum, exercises, platform
Timeline
2026 to now
Status
Live at lab.danielesambu.com
Stack
  • C++20
  • TypeScript
  • Next.js
  • Supabase
  • Judge0
  • Monaco
modules, memory models to lock-free queues
13
exams, plus an order book capstone
3
algorithm topics
20
exercises, each with a test harness
265
Latency Lab home page: 'Learn to write C++ like the machine is watching', with 13 modules, 3 exams and 1 capstone

The course. The front door: 13 modules, 3 exams, and an order book engine as the capstone.

  1. The course
  2. The Learn hub

Overview

A ground-up C++ course built for one target: walking into a trading-firm interview and out-coding everyone in the room. Memory, pointers, RAII, the STL, concurrency, and the debugging skills that decide those interviews, with every exercise compiled and graded in a sandbox from the browser.

What I built

  • 13 modules, from memory models to lock-free queues, with 3 exams and a capstone: an order book engine.
  • An in-browser editor (Monaco) wired to a Next.js API route that never lets the browser talk to the compiler directly. The route checks the Supabase session, rate-limits each user to 20 runs a minute, loads the exercise's hidden test harness server-side, and sends user code plus harness to a sandboxed Judge0 instance.
  • An algorithms track of 20 topics, from arrays and hashing to advanced synthesis, and the start of a Bash for Systems course: 265 exercises in all, each with its own test harness.
  • Accounts and saved progress on Supabase, so a learner can pick up where they left off.

Say hi

If you want to talk about Latency Lab, or anything on this page, I'd love to hear from you. Email me or use the contact page.