Zinnia: A modular 64-bit Unix-like kernel written in Rust

mrunix1 pts0 comments

zinnia

about

The kernel is written in (almost) 100% Rust and attempts to avoid unsafe<br>code where possible. It implements a big range of POSIX APIs in system<br>calls, but also exposes common extensions found in Linux and BSDs, like<br>epoll and timerfd. This allows it to run a somewhat modern desktop using<br>Wayland and X11 sessions.

Most drivers are implemented as modules. These are Rust ELF dylibs which<br>get loaded and linked during boot from an initrd, similar to Linux<br>systems. Zinnia can boot from any UEFI based system thanks to the Limine<br>bootloader.

I started this project in 2024 to learn more about systems programming,<br>but over time it started gain more and more features. Today the kernel is<br>able to boot on many real x86_64 machines. aarch64 and riscv64 support is<br>planned, but not a priority at the moment. Fixes are always welcome!

links

zinnia - leave a star :D

bootstrap

Limine

screenshots

Weston runninng in QEMU

XFCE runninng in QEMU

XFCE runninng on a ThinkPad E14 G7

zinnia kernel rust boot runninng like

Related Articles