Roy Gonzalez
Software architect · Heredia, Costa Rica

Roy Gonzalez

I built a programming language and its compiler, a database engine and an actor model, I redefined the tensor from scratch, and I am building an embedded operating system: the whole stack, so that software can be provably correct.

Illustrated portrait of Roy Gonzalez

Eighteen years of systems that could not be wrong. A whole stack, built so that being right is the default.

For eighteen years I have designed and built systems that have to stay correct under load: a mission-critical trading platform, logistics integration across DHL, enterprise analytics, 3D geospatial tooling, at companies from Accenture to TradeStation. I am an expert in software architecture (TOGAF, the SEI's quality attributes), domain-driven design and distributed applications: actors, events, microservices and the guarantees between them.

Since 2019 I have been building MLambda, one family of software written from the compiler up:

  • I built a language. Aleph, pure and strongly typed, and its native compiler, written in Aleph and emitting LLVM for nine targets, from Windows to RISC-V and WebAssembly.
  • I built a database engine. MLambda.Data, from the write-ahead log and SSTables up to the query planner and replication on a ring, every part an actor.
  • I created an actor model. MLambda.Actors, addressed by route, so the same actor runs in one process or across a cluster, its behaviour proved in TLA+.
  • I am creating an embedded operating system. MLambda.OS, a Minix-style microkernel on RISC-V, with drivers in user space and machines that join into one system.
  • I redefined the tensor from scratch. Hilbert.Tensor: a tensor is a term of mathematics in a lazy graph, planned, fused and compiled for the GPU, with no BLAS, CUDA library or Python underneath.
  • And Turing. Turing is rational software: it takes a description of a project and reasons about its architecture (contexts, sub-systems, aggregates, services) before any code exists, every step judged by TOGAF, the SEI and DDD.

Around those sit Hilbert and Shin for mathematics and logic programming, Max agents with the Neuron engine, the tools that prove and deploy every change, and the applications a company runs, every one of which I also design: research, a prototype of every screen, and the built window proved against it side by side.

My degrees are in software engineering and in the philosophy of formal science, taken together. That pairing is the whole of my work: I am interested in what a system provably does, not in what it appears to do.

  • 18+years building software
  • 8companies, US and Latin America
  • ~70repositories in the MLambda family
  • 9targets my compiler emits

What I am expert in

  • Architecture

    TOGAF and the SEI's quality attributes, evolutionary and event-driven architecture, made executable in Turing.

  • Domain-driven design

    Bounded contexts, aggregates derived from invariants, commands, events and policies, as languages and code.

  • Distributed applications

    Actors, clusters, replication and consistency, microservices that talk only by events, proved in TLA+.

  • Languages and compilers

    Type systems, optimisation, code generation for LLVM, RISC-V and WebAssembly, logic programming.

  • Design

    Product research, prototypes of every screen and state, design systems and a UI language, windows proved side by side.

  • Machine learning

    Neural engines on the GPU, BDI agents whose decisions are logic and whose perception is neural.

Selected work