Portrait of Mira Carvalho
Faculty · F · 01 · Co-founder

Mira Carvalho

Director of Curriculum · Co-founder · Principal Engineer at Cloudflare

I teach engineers to read code the way I learned to read it: slowly, with notes in the margins.

At Lattice sinceCohort I · MMXXIV
Office hoursWed · 16:00 CET
Based inBerlin · Lisbon (origin)

Areas of practice.

A non-exhaustive list of what Mira works on, has shipped, or has very strong opinions about.

systems kernel performance scheduling io_uring Linux syscalls cache lines concurrency

Working on.

Twelve years writing kernel and runtime code in three languages. Two of them spent teaching graduate systems courses at TU Berlin — work I left to ship at Cloudflare, and work I came back to when we founded Lattice.

Most of my career has lived inside the operating system. I joined Cloudflare's runtime team in 2019, and I'm still there one day a week — embedded in scheduler work for the next-generation Workers platform. The other four days are Lattice.

I didn't plan to start a school. The plan was to teach the seminar I wished I'd taken — three weeks, eight engineers, one hard problem. The plan grew. We've done eleven cohorts since.

What I teach is mostly the discipline of patience: how to read assembly without flinching, how to profile something rather than guess at it, and how to be honest with yourself about whether you understand what you're looking at. It turns out most performance problems are not problems of cleverness but of looking carefully at the right thing.

I'm Director of Curriculum at Lattice, which mostly means I argue with my co-founders about what to assign and what to cut.

Currently on the desk.

What Mira is reading or returning to. Many of these are assigned somewhere in the curriculum.

  • 01Computer Systems: A Programmer's Perspective · Bryant & O'Hallaron2015
  • 02Computer Architecture: A Quantitative Approach · Hennessy & Patterson2017
  • 03A Decade of Production Failures · Yuan et al.2023
  • 04Hints for Computer System Design · Lampson1983
  • 05The Linux Scheduler: a Decade of Wasted Cores · Lozi et al.2016

Reserve a seat in
Systems & Performance.

Mira's Systems & Performance course opens for Cohort XIII in January 2026. Twelve weeks, in residence in Berlin, capped at sixteen students.

Begin your application