An assortment of things I have built over the years. Some were built out of curiosity, some at university, and some because I was bored.
Most of my source code can be found on GitHub.
A NASDAQ TotalView-ITCH 5.0 binary feed decoder and full-depth L3 limit order book. Uses intrusive linked lists, pool-backed memory allocation and FIFO price-level queues. Currently capable of processing 2.54 million messages per second, including decompression, decoding and book updates.
A concurrent cryptocurrency market data gateway that connects to Kraken, Coinbase and Binance.US, normalising their respective WebSocket feeds into a common event model. An excuse to learn Rust and play around with Tokio.
An implementation of the Black-Scholes-Merton model for European options, including analytical Greeks, Monte Carlo simulation, convergence analysis and numerical verification.
An ongoing experiment in UDP packet reception and network programming.
A small interpreted programming language that allows you to write programs in Persian, Latinised Persian (Pinglish), or a mixture of the two. Includes its own lexer, parser and runtime. Because why shouldn't you be able to program in Farsi?
A multi-cycle MIPS-compatible processor built at Imperial. Features separate four-way set-associative instruction and data caches, pseudo-LRU replacement, an eight-entry write buffer and an Avalon memory-mapped interface. Tested against 424 instruction-level assembly cases across three memory-delay profiles.
A university project implementing a compiler that translates C into MIPS assembly, complete with lexical analysis, an abstract syntax tree, three-address intermediate representation and assembly generation. Tested using QEMU.
An assembler written to support the development and verification of our MIPS processor. Converts MIPS assembly instructions into their corresponding machine code.
A little arithmetic interpreter supporting binary arithmetic, exponentiation, modulo and implicit multiplication.
A remotely operated rover with autonomous navigation and obstacle-response capabilities. Combines an FPGA-based computer vision pipeline, closed-loop PID motor control, ESP32 orchestration and a web-based command centre communicating over MQTT.
An Internet of Things-enabled toilet roll holder that tracks household toilet paper consumption. Built as part of an embedded systems module at Imperial.
The MCP of suffering and despair.
A mental health support bot for Discord.
A shared cryptocurrency wallet implemented as a smart contract, with configurable allowances for individual accounts.
My digital homestead. Handwritten HTML and CSS, served by nginx on Persepolis, my Debian VPS. Version control and deployment are also independently managed using Git, SSH and rsync.