A comparison of operating systems written in Rust.
There are several open source operating systems written in Rust. Most of them are proofs of concepts. The only system that goes a step further is redox. It comes with a window manager as well as basic applications like an editor and a file manager.
- redox (repository / homepage)
- reenix (repository)
- rustboot (repository)
- RustOS (repository)
- Tifflin (rust_os) (repository)
- bkernel (repository)
- intermezzOS (repository / homepage)
- Quasar (repository)
| Name | redox | reenix | rustboot | RustOS | Tifflin | bkernel | intermezzOS | Quasar |
|---|---|---|---|---|---|---|---|---|
| Architectures | x86 and x86_64 | Brown's CS167/9 | i386 | i386 | x86_64/amd64 | ARM | x86_64 | x86_64 |
| Pure Rust implementation | yes | no | ? | ? | almost | yes | no | ? |
| Active? | yes | no | no | ? | yes | yes | yes | no |
| Kernel architecture | Microkernel | Monolithic (current state) | None | ? | Monolithic | ? | ? | ? |
| Target | General purpose | PoC | PoC | ? | ? | Embedded devices | PoC | ? |
| Userpace? | yes | no | no | no | ? | no | no | no |
| Optional GUI? | yes | no | no | no | yes | no | no | no |
| Contributors | 40+ | 3 | 9 | 10 | 1 | 3 | 4 | 1 |
| Filesystem | ZFS/RedoxFS | ? | no | no | ISO9660 | ? | no | ? |
| License | MIT | unknown | MIT | APL 2 / MIT | 2-Clause-BSD | GPL with linking exception | APL 2 / MIT | ? |
Also worth noting: Robigalia, a sel4 userspace, written in Rust.
-
This week in intermezzOS:
-
Reenix: Implementing a Unix-Like Operating System in Rust (PDF)
-
Ownership is Theft: Experiences Building an Embedded OS in Rust (PDF)
-
(x86_64) Why are platform features such as the red zone enabled by default?
- Bare Metal Rust
- Rust bare metal on ARM microcontroller
- Blinking an LED with Rust on a Beaglebone Black
- Zinc goals redefined and extended
- Rust on an Arduino Uno
- Rust on Arduino Due
- http://embedded.hannobraun.de/
- Raspberry Pi Bare Metal Programming with Rust
- Running Rust code on a BBC micro:bit micro-controller