Thomas Gazagnaire

Thomas Gazagnaire

Building Functional Systems from Cloud to Orbit. thomas@gazagnaire.org

I like my coffee black and my software working without bugs for decades. I believe giving developers better tools is how we get there.

The first step is a better language. I have been using OCaml, a pragmatic functional language, for the past twenty years, and I sometimes contribute to its compiler and ecosystem. Its strong types and memory safety remove whole classes of bugs before the code runs. Formal methods can then rule out much of what remains (I wrote about this in OCaml: memory safety and beyond).

The second is a better way to organise programs. An application should be built from small libraries, each with a narrow job and some of them formally verified, and ship only the ones it needs, which keeps its footprint small. We took that approach with MirageOS, which I co-created at the University of Cambridge. It is a library operating system that compiles an OCaml application into a single-purpose unikernel, leaving out everything the application does not use. We co-founded Unikernel Systems to bring MirageOS to production, and Docker acquired the company in 2016. The MirageOS network stack now runs inside Docker Desktop on hundreds of millions of developer machines, and in Nitrokey's NetHSM, a hardware security module built on unikernels.

The third is better tooling around the language. I created or maintain several of these tools, including opam, Alcotest for tests and mdx for documentation that compiles. I wrote opam, the OCaml package manager, at OCamlPro in 2012 to manage the many libraries of MirageOS while preparing its first release.

Today I run two companies built on these ideas. Tarides develops and maintains the OCaml platform (Dune, Merlin, odoc) and the opam ecosystem, including the CI systems that check every package submitted to opam. It also maintains Irmin, the Git-like distributed store that I lead, and supports the teams that build secure infrastructure with these tools. Parsimoni brings those tools to space. Deploying payload software to a satellite still looks like deploying to a server in 2005, with hand-tuned images and months of integration testing. Its product, SpaceOS, gives satellite payloads the Docker workflow, with unikernel images and a space protocol stack written in OCaml.

Before founding Tarides and Parsimoni, I held engineering and leadership roles at Docker, Citrix, OnApp and OCamlPro, and did research at the University of Cambridge, Inria, ENS Lyon and ENS Rennes.

My code is on GitHub and Tangled.