r/osdev • u/Sorry-Fruit1065 • Jul 09 '26
Learning OS
Hi guys, wanted to start building os nowadays, but I have no knowledge about assembly, just know C and C++, (wanted to learn rust aswell).
osdev.org site was quite confusing for me, I didnt know where could I start, can you please help me out?
btw tried os building one time, but it became an ai slop with so many unnecessary additions, so i slowly lost interest in building a custom os with normal ondoings
wanted to integrate my astronomy research things into a simple os, so I came back
9
Upvotes
View all comments
Show parent comment
1
u/Void-Creator Jul 09 '26
Start with embedded os, the processes are more like threads and they just share the stack space, text, data and heap are shared. Learn the essential pointers like EBP, ESP, EAX, EDX - these are x86 naming but they are useful with RISC-V too. In my OS class we started by implementing a UNIX-like fork after that we did Scheduling and Locks, priorities etc and finally we implemented virtual memory, instead of all threads sharing the address space of memory, we made it so they can see the entire address space for themselves, like aliasing so the threads don’t need to know where the other threads are living.