Humble hobby OS project

A cool project. I do like seeing OS research being done because it is very much becoming a lost skill.

After exploring alternatives like Zig and Rust, I concluded that C remains the most practical, predictable, and hardware-transparent language for low-level system development on 32-bit Intel machines.
Contrast to the hard time I give Rust when it is spammed ontop of layers of C, I am quite interested in 100% pure Rust operating systems. Interestingly the name of your R4R is quite unfortunate because it has nothing to do with Rust as a language!

  • Designed to run on real hardware (i386/i486) as well as emulators like Bochs, or VirtualBox.
  • Note: QEMU is currently unsuitable for testing this build due to a known issue with legacy i486 protected-mode task switching.See QEMU Bug 2024806 – “Protected mode LJMP via TSS/LDT fails with pc=nil.”
This is very interesting. I always assumed that Qemu provided more flexible x86 emulation than VirtualBox but perhaps not. Are there plans to support Qemu in future or does Qemu need to be changed?

R4R attempts to bring all four rings into play in a coordinated and observable way.
This is also interesting. So what is your ultimate goal for this? I.e what features of R4R do you plan to provide to demonstrate this?
 
Contrast to the hard time I give Rust when it is spammed ontop of layers of C, I am quite interested in 100% pure Rust operating systems. Interestingly the name of your R4R is quite unfortunate because it has nothing to do with Rust as a language!
The original desire and inspiration was to write this in Rust, so the inspiration for R4R originally came from there. My capabilities are not that great now, so I decided to go with C and I'm still not happy with LLVM support for x86_32 because it makes a lot of gaps in the code... I started the project with a burning desire to get Rust people interested if they find this interesting.
 
Back
Top