software engineer building compilers, systems tools, and things that run close to the metal. i write about what i learn here.
available for freelance — march 2026
from-scratch implementation of git's core plumbing. parses pack files, resolves delta chains, handles the http smart protocol.
modal text editor in rust using raw terminal i/o. normal, insert, and visual modes with a gap buffer for efficient editing.
bytecode virtual machine for the lox language. mark-and-sweep gc, closures, and a single-pass compiler.
Learn why printf output duplicates when redirecting to a file in Linux -- and how stdio buffering, fork(), and exit() interact to cause unintended behavior.
A deep dive into how I implemented Git's core plumbing commands from scratch in Go, including object storage, pack file parsing, and the HTTP smart protocol.
How I built a terminal text editor in Rust from scratch — covering raw terminal mode, efficient text storage with a gap buffer, and implementing vim's modal editing model.