Show HN: I wrote an OS in 1000 lines of Zig
3 days ago
- #zig
- #monolithic-kernel
- #operating-system
- OS-1000-lines-zig is a lightweight Zig-based operating system project.
- Features a monolithic kernel architecture with basic process and memory management.
- Includes a simple command-line interface for interaction.
- Requires Zig compiler (v0.10.0+), a code editor, and terminal for setup.
- Installation involves cloning the repo, navigating to the directory, and building with `zig build`.
- Usage includes running the system via `zig run` and interacting with the CLI.
- Key components: `kernel.zig`, `common.zig`, and `build.zig`.
- Configuration is modifiable via `config.zig`.
- Project welcomes contributions under MIT License.
- Includes automated tests (`zig test`) and has future development plans like advanced features and networking.