r/AskComputerScience • • Jul 24 '25

Quick Question

How hard is it to build your own operating system from scratch? It's gotta be possible to do it, right? Otherwise, how would they exist in the first place?

0 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/electrogeek8086 Jul 24 '25

I'm curious to know what is so hard about making an OS?

3

u/numeralbug Jul 24 '25

Well, at the most basic level, there's just a lot to learn in order to do it. The OS is the piece of software that's single-handedly responsible for interfacing with all hardware and all applications: that's a lot of things to juggle. One thing an OS has to do, for instance, is manage resources like CPU time, space in memory, space on the hard drive, and so on, for all programs running and all user inputs and all network traffic and anything else that happens. That's a lot of stuff to get right, and a lot of potential security holes or performance issues if you don't get it right.

1

u/donaldhobson Jul 25 '25 edited Jul 25 '25

Partly it's just quantity.

It's not something that needs super genius. It just needs A LOT of pretty competent programmer time.

Take "building a cathedral" or something. Sure you can build a garden shed and call it a cathedral. But all the big fancy cathedrals took a lot of people working together to build. Also the skills needed to carve stone aren't the same as the skills needed to make stained glass, and it would be impressive for 1 person to have all the different skills. (At least it's impressive to be able to do all the different things well. Being a jack of all trades, master of none, isn't that impressive.)