YAK – Yet Another Kernel
YAK is a small x86-64 operating system written from scratch in Rust, for learning how a kernel works by reading, running, testing and changing one. It runs in QEMU (BIOS and UEFI).

Where to start
- Get it running – the quick start in the README: host packages,
make run,make check. - Follow one thing through the kernel – the walkthroughs trace a boot, a key press, a pipeline and a page fault through the code, with links to every function involved.
- Change something and watch what happens – the experiments, each with a measured result.
- Build on it – adding a syscall, a program, a test.
The learning notes explain every subsystem in the order it was built; the design notes give the reasons behind each decision, and the bug log tells what went wrong and how it was found.
The course
YAK is turning into a course in which you rebuild the kernel chapter by chapter, each chapter a runnable, tested state of its own. The first chapters are being written; the plan is in the roadmap.
About
YAK is free software under the GNU General Public License v3 or later (LICENSE), developed by FreakySneaky787 together with an AI assistant. Source code and issues: github.com/FreakySneaky787/yak-kernel.