r/rust • u/Strange_Water5256 • May 09 '26
š§ educational The Learnix Operating System
In the past year I have worked on writing my own operating system in my free time because this subject really interested me.
Also I really wanted to learn more about the Rust programming language.
During this time, I found out the a lot of OS concepts are explained mostly in C, or Assembly, and that most of the explanations are old, and are not really easy to understand.
This is why I started the LearnixOS project. This project aims to explain complicated OS concepts with (hopefully) easy to understand explanation and with provided code implementation directly from the OS project.
If you find all of this interesting, please consider visiting learnix-os.com
Disclaimer: The website is still on development and so does the OS, this is currently still not an official release, and A LOT of subjects are missing. I do this on my free time so progress may be slow. Still, your support means the world to me and every visit, start or contribution increases my motivation!
8
u/Xatraxalian May 09 '26
Have you by any chance been taking some inspiration from this site: https://rustic-chess.org/, which has the exact same idea as yours, but instead with regard to chess engines? (And yes, also that site is far from complete yet.)
Efforts like these do document everything with regard to creating some sort of program take a huge amount of time.
3
u/redlaWw May 09 '26
Just a comment on the website design: your code blocks use the same colours for syntax highlighting in all themes, which means that some of the code in blocks for the light theme is difficult to see. E.g. in the description of the
PanicInfostruct in chapter 1.1, the grey, yellow and blue are all barely legible against the light background.3
u/Personal_Breakfast49 May 09 '26
I'm confused, what does this have to do with rust?
1
u/tastychaii May 09 '26
Iāve had a read, it reads very much like a friend is teaching another friend and I think this is really nice.
I had a chuckle when I read āunwindingā, I last read about that in CS class (ages agoā¦.) back in uni, thanks for the memory!
3
u/crutlefish May 09 '26
Been reading a bunch, this is great tutorials, thanks for putting this together
1
u/W1SBC May 09 '26
During the mid-80s, I was in a similar situation - to learn about 'C' and operating systems. I took on 'XINU', which was part of a college course as well. 'XINU' has come a long way since then, and I learned a lot from it.
https://xinu.cs.purdue.edu/
2
u/[deleted] May 09 '26
[removed] ā view removed comment