A minimalist kernel from scratch, written in Zig 0.13.
42_KFS is a low-level educational operating system project. It is designed to help understand OS fundamentals, boot processes, memory management, and hardware interaction—all implemented in Zig for safety and performance.
-
Written entirely in Zig 0.13 for modern language safety and performance
-
Minimalist kernel: simple, clear, and well-documented codebase
-
Bootloader setup and kernel entry
-
Basic device drivers (VGA text output, keyboard input, etc.)
- Zig 0.13
- QEMU or another x86 emulator/virtual machine
-
Clone the repo:
git clone https://github.com/Kbz-8/42_KFS.git cd 42_KFS -
Install dependencies:
- Download Zig 0.13
- Install QEMU:
sudo apt install qemu(Debian/Ubuntu)
or see QEMU downloads
-
Build the kernel:
zig build
-
Run in QEMU:
zig run


