POV: you try Inti for the first time.
A small operating system, written from scratch, that you can break on purpose.
A small capability-based microkernel OS for 32-bit x86, written from scratch in Rust. Boots in a browser tab to a desktop with windows; a crashed or hung driver, the display included, is restarted while the system keeps running, and files on its disk survive a restart. Emulator only, not verified.
In short:
- Boot. A boot sector of 512 bytes, written in Rust, loads the kernel through the BIOS. No GRUB, no multiboot.
- G8: The same disk image boots to the shell prompt in a web browser.
- G9: Every number in the documents comes from a script or carries a source.
- G2: Boots from its own boot sector to a shell prompt in QEMU within 20 s.
Feedback welcome, especially the critical kind.
What else it does
- Mac: Inti-macOS-AppleSilicon.dmg (M1 and newer) or Inti-macOS-Intel.dmg. The first time, macOS blocks it because it is not notarized: System Settings → Privacy & Security → Open Anyway.
- Android: Inti-android.apk: open the file on the phone and allow your browser to install apps once.
- G1: One command builds the disk image from a clean tree.
- G3: The self-test inside the system passes with at least 30 checks.
- G4: Each supervised service is crashed and hung, restarted automatically, and timed.
- G5: Every attempt of the hostile program without capabilities is denied.
- G6: At least 1,000,000 random system calls: no kernel panic, no invariant violated.
- G7: No heap in the kernel, every unsafe justified, at most 4,000 lines of kernel code.
- help: lists every command.
- tour: the guided tour: a hostile program, a keyboard driver crash, a display crash, a server hang, two failures at once and the kernel's counters, each step announced before it runs.
Under the hood
- Written mostly in Rust
- Hosted for free on GitHub Pages
- Tests run in GitHub Actions on every push
- MIT licensed
Links
- Try it: https://juw12.github.io/go/inti/
- Source: https://github.com/juw12/inti
Top comments (0)