PatchworkOS: An OS for x86_64, built from scratch in C and assembly
4 days ago
- #experimental
- #education
- #operating-system
- PatchworkOS is a modular, non-POSIX operating system for x86_64, following an 'everything is a file' philosophy inspired by Plan9.
- Built from scratch in C and assembly, it aims to be both educational and experimental, focusing on unique OS design rather than being a UNIX clone.
- Key features include a preemptive EEVDF scheduler, SMP support, O(1) memory management, file-based IPC, and a modular kernel design.
- User space is currently minimal, with a focus on kernel and low-level development.
- PatchworkOS uses file flags instead of traditional permissions and modes, emphasizing its 'everything is a file' approach.
- The OS includes custom formats like FBMP for images and GRF for fonts, designed for efficiency.
- Documentation is a priority, with Doxygen-generated docs available for understanding the codebase.
- Development environment requires Linux, GCC, make, NASM, and QEMU for testing.
- Contributions are encouraged, with guidelines provided for those interested in contributing.