The Codex

I want to document my journey. This is my attempt to index what I learn. A collection of what I'm reading, writing, and breaking.

Active Learning

The Goal

Demystifying the CPU. I wanted to build a computer from scratch to understand exactly how code becomes electricity.

Resources

  • Nand2Tetris.org

What I Learned

Software is just a very tall stack of abstractions on top of NAND gates. I built an assembler and VM translator, proving that there is no magic inside the black box—just logic.

Check the result →

The Goal

Moving from 'user space' consumer to 'kernel space' controller. Using XV6 and Linux to understand syscalls, process scheduling, and pipes.

Resources

  • Cusdeb Operating System Camp

What I Learned

The OS isn't a black box. I successfully recreated Go routines in C using RISC-V pipe syscalls. It's messy, it's dangerous, and it gives you total control.

Check the result →

The Goal

To understand the cost of every byte. Why high-level languages are safe but slow, and how to crash a program with a single pointer.

Resources

  • Vlad Budnitski (Advanced C)
  • MyCodeSchool

What I Learned

Manual memory management is about discipline. In TypeScript, a mistake is a bug. In C, it's a segfault. I learned to respect the heap and eliminate leaks.

Check the result →

The Goal

Leaving the playground. Applying low-level discipline to a massive, real-world production codebase.

Resources

  • Nextcloud Server Repo
  • Open Source Contribution

What I Learned

Reading production code is harder than writing it. I navigated a massive codebase to merge a PR for Nextcloud Server. The code works.

Check the result →

The Goal

Moving past 'it works' to 'how it scales'. Tearing down communication protocols and database internals to understand the cost of every request.

Resources

  • Hussein Nasser (Backend Engineering)

What I Learned

Abstractions are a tax. Understanding the difference between a message queue and a POST request at the syscall level is what separates an engineer from a framework user.

Check the result →

Bookshelf

Writing

Spotify Statistics

Visualizing audio habits in real-time. Bypassed standard polling for Server-Sent Events (SSE) to handle live data streams without the heavy overhead of WebSockets.

Read the case study →