r/teenagersbutcode • u/LolMaker12345 • 11d ago
Coding a thing (AI assisted) OS Dev
Hey, I thought it might be interesting to post this here.
For the past 1 month, I think, I've been programming my own Operating System from scratch. Now, I'm not sure the tag is correct for this post because technically the AI didn't generate any of the code for me.
Before this, I already had some experience with C and assembly, but what I did not know was how the hell to make an OS. I'm an ambitious person, so I wanted to try it. So, I hopped onto Claude and asked it to create an OS dev course for me because I'm lazy and don't wanna read the OSDev wiki, and prefer the college lecture style, so that's what it made me. It has been teaching me the steps to build an os, how the parts work and go together, and I've been taking that knowledge and converting it into code.
I've been having quite a lot of fun building this, and am on track to get most of the important features by maybe February next year. I thought it would be interesting to share this here, and if y'all have any feedback or tips
1
u/Objective_Buy_7235 10d ago
Too lazy to take advantage of existing resources is not a great start.
1
u/letmehaveanameyoudum 11d ago
I'm also building a kernel currently, and i will say, this is impressive.
1
u/Elegant_Athlete_3737 11d ago
Is there any benefit to learning how to make a OS or kernel other than kernel or os dev?
1
u/realrealvantheman 10d ago
There is a reason dedicated shit exists for this. Buy a book, eg. 'The Design of The UNIX Operating System' or read papers on something fancier like barrelfish or minix3. I first learned programming by buying an LSI11/03 processor handbook. Trust me.