An HTTP request on a hobby OS

Posted on November 28, 2026 / Tags: , , ,

Table of contents


I prepared a talk for osdev-jp #54 (自作OSもくもく発表作業会) on November 28, 2026. The slides are below.

Takibi now runs Alpine Linux’s BusyBox HTTPd: an unmodified AArch64 binary dynamically linked with musl. In the demo, Takibi boots in QEMU and serves files from an ext2 root filesystem.

I follow a single HTTP request through the kernel, from receiving a TCP connection and creating a worker with Copy-on-Write (COW) to reading a file, sending the response, and reaping the worker.

My main interest is what the compiler can check along the way:

These are concrete examples of how building a language and a kernel together can turn potential runtime defects into compile-time errors. Other problems, such as statically checking the lifetime of COW source pages, remain open.