Rust operating-system

Open-source Rust projects categorized as operating-system

Top 23 Rust operating-system Projects

operating-system
  1. rust-raspberrypi-OS-tutorials

    :books: Learn to write an embedded OS in Rust :crab:

    Project mention: Blinky on Pi 4B with Bare Metal Rust | news.ycombinator.com | 2024-09-02
  2. InfluxDB

    InfluxDB โ€“ Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. bottlerocket

    An operating system designed for hosting containers

    Project mention: Access for Infrastructure: SSH | news.ycombinator.com | 2024-10-23

    There's not one answer to your question, but here's mine: kubelet and AWS SSM (which, to the best of my knowledge will work on non-AWS infra it just needs to be provided creds). Bottlerocket <https://github.com/bottlerocket-os/bottlerocket#setup> comes batteries included with both of those things, and is cheaply provisioned with (ahem) TOML user-data <https://github.com/bottlerocket-os/bottlerocket#description-...>

    In that specific case, one can also have "systemd for normal people" via its support for static Pod definitions, so one can run containerized toys on boot even without being a formal member of a kubernetes cluster

  4. tock

    A secure embedded operating system for microcontrollers

    Project mention: Pebble smartwatch firmware released as open-source | news.ycombinator.com | 2025-01-27

    TL;DR: No. Maybe? Depends.

    It's probably reasonable to make a distinction between "Real Time" desktop/server OS (on CPUs) vs "Real Time" embedded hardware OS (on MCUs).

    (Even aside from any hard-/soft- real time distinction.)

    On the embedded side, in addition to FreeRTOS (upon which Pebble OS is built), I'm aware of others with reasonably high profile such as:

    * Zephyr (Linux Foundation, C): https://en.wikipedia.org/wiki/Zephyr_(operating_system)

    * NuttX (Apache Software Foundation, C & C++): https://en.wikipedia.org/wiki/NuttX

    In addition, there's also some "up & coming" Rust language projects which fall somewhere along the "framework" to "OS" spectrum (in part, via https://arewertosyet.com):

    * Tock: https://github.com/tock/tock

    * Embassy: https://github.com/embassy-rs/embassy

    * Hubris: https://hubris.oxide.computer

    On the desktop side, I seem to recall in the past, OS such as BeOS & QNX have been presented as a possible future for real time desktop OS that hasn't arrived.

    As someone else already mentioned, PREEMPT_RT being merged for Linux is a recent development somewhat in this space which could have impact on both desktop & "embedded" situations but suitability varies dependent on, say, whether you're wanting to use it for audio production versus controlling some 10 tonne robot operating next to humans.

    Hope this at least goes some way to answering your question. :)

  5. kerla

    A new operating system kernel with Linux binary compatibility written in Rust.

    Project mention: Asterinas: OS kernel written in Rust and providing Linux-compatible ABI | news.ycombinator.com | 2024-10-15

    There was also the similar project Kerlaยน but development stalled. Recently people argued that instead of focusing on Rust-for-Linux it would be easier to create a drop-in replacement like these two. I wonder if there are enough people interested to make this happen as a sustained project.

    ยน https://github.com/nuta/kerla/

  6. Theseus

    Theseus is a modern OS written from scratch in Rust that explores ๐ข๐ง๐ญ๐ซ๐š๐ฅ๐ข๐ง๐ ๐ฎ๐š๐ฅ ๐๐ž๐ฌ๐ข๐ ๐ง: closing the semantic gap between compiler and hardware by maximally leveraging the power of language safety and affine types. Theseus aims to shift OS responsibilities like resource management into the compiler.

  7. hermit-rs

    Hermit for Rust.

  8. kernel

    A Rust-based, lightweight unikernel.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. aero

    Aero is a new modern, experimental, UNIX-like operating system following the monolithic kernel design. Supporting modern PC features such as long mode, 5-level paging, and SMP (multicore), to name a few.

  11. moros

    MOROS: Obscure Rust Operating System ๐Ÿฆ‰

    Project mention: Ask HN: What are you working on (September 2024)? | news.ycombinator.com | 2024-09-29

    I'm working on my hobby operating system written in Rust. It is completely text-based, but the console was lacking a scrollback buffer until this week. It's a simple feature, really, but having to redirect anything that outputs more than one screen to a file to read it was a pain. I'm happy to finally have it!

    This weekend, I also made good progress on user-space memory and found a workaround for some issues I had. I still need to implement it the right way, though. After a few years on the project, the thing that is giving me the most trouble is grokking the concept of page tables.

    https://moros.cc

    https://github.com/vinc/moros

  12. k23

    Experimental WASM Microkernel Operating System

    Project mention: K23 โ€“ Experimental WASM Microkernel Operating System | news.ycombinator.com | 2025-06-13
  13. ariel-os

    Ariel OS is a library operating system for secure, memory-safe, low-power Internet of Things, written in Rust

    Project mention: Show HN: Ariel OS โ€“ an embedded Rust library OS for small MCUs | news.ycombinator.com | 2025-03-31
  14. felix

    ๐Ÿฑ Experimental operating system written in Rust (by mrgian)

  15. fltr

    Like grep but for natural language questions. Based on Mistral 7B or Mixtral 8x7B.

  16. kernel

    The kernel for LibertyOS. (by LibertyOS-Development)

  17. Pop_OS-Guide

    Pop!_OS Guide. Pop!_OS is an Operating System developed by System76.

  18. poplar

    Microkernel and userspace written in Rust exploring modern ideas

  19. rust-kernel-riscv

    RISC-V kernel implemented with Rust

  20. vesper

    Single-address-space capability-based nanokernel

  21. kernel

    Kernel for the Oro Operating System (by oro-os)

    Project mention: Snowdrop OS โ€“ a homebrew operating system from scratch, in assembly language | news.ycombinator.com | 2025-01-24

    It's "quietly public" but I've been working on a novel kernel design for about a year now.

    https://github.com/oro-os/kernel

    It's a user-less, capability-less microkernel design that enforces access control via the kernel's entity hierarchy. Shared memory ports with various levels of safety are the primary form of IPC, typed at the kernel level.

    Currently undergoing later stages of the kernel efficacy stage; if I can prove the design I'll do a more formal writeup. It's been a project in my head for about 8 years and in the editor for about 4 now.

  22. lpm

    an experimental package manager for operating systems

  23. rust_os

    My hobby operating system microkernel written in Rust (by Dentosal)

  24. slides

    All public report slides, articles and meeting minutes related to RustSBI (by rustsbi)

  25. FOMOSv2-CL

    FOMOS stands for: Free, Open source, Mobile, Operating, System.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust operating-system discussion

Log in or Post with

Rust operating-system related posts

Index

What are some of the best open-source operating-system projects in Rust? This list will help you:

# Project Stars
1 rust-raspberrypi-OS-tutorials 14,133
2 bottlerocket 9,204
3 tock 5,863
4 kerla 3,408
5 Theseus 3,025
6 hermit-rs 1,795
7 kernel 1,307
8 aero 1,229
9 moros 994
10 k23 499
11 ariel-os 450
12 felix 397
13 fltr 379
14 kernel 285
15 Pop_OS-Guide 272
16 poplar 259
17 rust-kernel-riscv 98
18 vesper 81
19 kernel 67
20 lpm 65
21 rust_os 44
22 slides 29
23 FOMOSv2-CL 24

Sponsored
InfluxDB โ€“ Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Rust is
the 5th most popular programming language
based on number of references?