Rafael Rayes

Work

A short list, ordered from the gates up. Most of the rest is on GitHub.

  1. Gates

    SHDL

    A hardware description language where everything is built from AND, OR, XOR and NOT gates. It has its own compiler, which turns circuits into C, plus a debugger, a package manager and a VS Code extension. Open source since October 2025.

  2. CPU

    Doom on a CPU made of gates

    A RISC-V CPU written by hand in SHDL from 13,607 logic gates. It boots Doom from reset and draws every frame identically to a reference simulator. It is not fast: the first 80 frames took five and a half hours.

  3. Compilers

    Esis

    A small language that compiles to the assembly of the teaching CPU used at Insper, with a software call stack so that recursion works, and a simulator to step through the result. I wrote it to understand the course's final project at my own depth.

  4. Learning

    Machine learning experiments

    Self-directed experiments on how networks train: learned optimizers, generating weights with other networks, training without gradients. Also a language model fine-tuned to be a closed-book Star Wars expert. Mostly small, and several are null results.

  5. Products

    RRAYES

    My software studio. Since early 2026 I have built and run production systems for a handful of Brazilian companies: an order-management platform for a chocolate maker, operations and forecasting tools for an e-commerce operator, and a WhatsApp CRM for an art gallery.

  6. People

    Insper AI

    A student organization for deep learning at Insper, which I co-founded in May 2025 and led as president in the first half of 2026. I wrote and taught its introductory deep learning track, helped design its selection process, and handed it over after one term.