CodeCrafters Builds
Built-from-scratch reimplementations of real systems, following CodeCrafters’ “Build Your Own X” challenges — all in Rust. Each one meant working directly with a system’s wire format, on-disk format, or grammar: parsing protocols, byte layouts, B-trees, and event loops by hand.
The ones I went deepest on:
- BitTorrent — bencode parsing, tracker communication, the peer handshake, and downloading and verifying file pieces over TCP
- Redis — a Redis server speaking the RESP protocol with core commands
- Shell — a POSIX-style shell: a REPL with builtins, external command execution, quoting, redirection, and pipelines
- Interpreter — a tree-walk interpreter for the Lox language: scanning, parsing to an AST, and evaluation with variables, control flow, and functions
Also built: Kafka, SQLite, Git, DNS server, HTTP server, and grep.
Tech stack: Rust.