Jump to content

Can one dude program a operating system?

buklu

Sure, but only because that's a super open-ended question. Usually asked by someone who doesn't know what an Operating System actually is and how simple they can be.

CPU - Ryzen 7 3700X | RAM - 64 GB DDR4 3200MHz | GPU - Nvidia GTX 1660 ti | MOBO -  MSI B550 Gaming Plus

Link to comment
Share on other sites

Link to post
Share on other sites

If said dude already has a decade of experience I think he can. 

https://wiki.osdev.org/Required_Knowledge 

You'll also note that these days, creating an OS requires you to use an already established computer as a tool. It's kinda like how all the manufacturing devices that build CPUs are in turn controlled by other CPUs. You aren't gonna truly start from scratch unless you are a true visionary. 

Intel 11700K - Gigabyte 3080 Ti- Gigabyte Z590 Aorus Pro - Sabrent Rocket NVME - Corsair 16GB DDR4

Link to comment
Share on other sites

Link to post
Share on other sites

Guy named Linus Torvalds also kinda did. But that was 30 years ago. Hardware is bit more advanced now, but I doubt that will be issue if you have 10 years to give. Tordvalds did it in ~3 years, but OS is based on unix clone Minix.

 

And yes, its more commonly known as Linux.

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
Share on other sites

Link to post
Share on other sites

7 hours ago, Zaphryx said:

Ah, yes, the infamous TempleOS. As mentioned by an above reply, it was programmed from around 2003-2013, by a man named Terry Davis. Apparently God had told him in a revelation that the "third temple" was to be a computer operating system, and so, TempleOS was born. Curiously enough, it had absolutely no support for the internet, or even networking. It was relatively lightweight (presumably so God's OS could run on most anything), and a maximum of 640x480 resolution, and a 16-colour gamut. Not the best for media creators, but I doubt Heaven has many 7980XEs to drive an 8k display, too.

A very interesting video about him if you've got 90 minutes

 

CPU: Core i9 12900K || CPU COOLER : Corsair H100i Pro XT || MOBO : ASUS Prime Z690 PLUS D4 || GPU: PowerColor RX 6800XT Red Dragon || RAM: 4x8GB Corsair Vengeance (3200) || SSDs: Samsung 970 Evo 250GB (Boot), Crucial P2 1TB, Crucial MX500 1TB (x2), Samsung 850 EVO 1TB || PSU: Corsair RM850 || CASE: Fractal Design Meshify C Mini || MONITOR: Acer Predator X34A (1440p 100hz), HP 27yh (1080p 60hz) || KEYBOARD: GameSir GK300 || MOUSE: Logitech G502 Hero || AUDIO: Bose QC35 II || CASE FANS : 2x Corsair ML140, 1x BeQuiet SilentWings 3 120 ||

 

LAPTOP: Dell XPS 15 7590

TABLET: iPad Pro

PHONE: Galaxy S9

She/they 

Link to comment
Share on other sites

Link to post
Share on other sites

You can in less than a year... by programming the absolute minimums required to have something considered an operating system ... memory management, drivers for devices, running multiple command line applications and managing switching between applications and so on.

 

The modern conveniences of an graphical interface, supporting things like mice etc are not a requirement for an OS.

Link to comment
Share on other sites

Link to post
Share on other sites

41 minutes ago, Misanthrope said:

This would trigger Richard Stallman so much is not even funny...actually it would be fucking hilarious.

Do you happen to know if Stallman has finished his OS already?

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
Share on other sites

Link to post
Share on other sites

It really depends on the language used. You can program and OS rarely quickly with a high level language, but if you wanted to use something low level like machine language it would take way longer than 10 years on your own.

Link to comment
Share on other sites

Link to post
Share on other sites

Depends.  Linus Torvalds was a certified genius.  Whole companies and organizations, and governments have probably tried to write their own proprietary in house OS.  Most use Windows, Linux, or some variant of Unix (i.e. Mac OSX) which is a lot like Linux.  It's just not that easy to create something that is really practical. 

 

So technically it can and has been done.  In one case it has changed computing forever.  Most of the time it may just be an academic exercise if it is done.  Practically speaking no it's not something that it makes sense to do. 

Link to comment
Share on other sites

Link to post
Share on other sites

Yes; as long as you put some effort into it. See ToaruOS. 

Ryzen 7 3700X / 16GB RAM / Optane SSD / GTX 1650 / Solus Linux

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, mariushm said:

You can in less than a year... by programming the absolute minimums required to have something considered an operating system ... memory management, drivers for devices, running multiple command line applications and managing switching between applications and so on.

 

The modern conveniences of an graphical interface, supporting things like mice etc are not a requirement for an OS.

If you put a lot of effort into it and are already pretty experienced. That typically takes a lot more than 'in less than a year'.

Ryzen 7 3700X / 16GB RAM / Optane SSD / GTX 1650 / Solus Linux

Link to comment
Share on other sites

Link to post
Share on other sites

 
 
 
6 hours ago, orbitalbuzzsaw said:

snip

Its sad he died though. Although he was crazy he was a smart

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, Uttamattamakin said:

Depends. Linus Torvalds was a certified genius.

If you wanted to make a brand new OS that was anywhere near competitive today it would take a lot more than being a genius unfortunately. 30 years ago a practical OS could be simple enough that a single person would be able to program the kernel (at least an alpha version, Linux started getting community contributions very early on). Nowadays making something from scratch that someone would actually use on your own is impossible.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

It depends on how in-depth you want to consider an operating system. If you consider an operating system to be just the kernel, I'd argue this is doable by a single person. Linus Torvalds did this with Linux. Andrew Tanenbaum did it with MINIX. However, if you consider an operating system to include more features like a network stack, a file system, or a graphics interface, then this becomes harder for a single person to do.

Link to comment
Share on other sites

Link to post
Share on other sites

As others have said. Depends on what you consider an OS.
If your talking just A way to Operate a System, As in a command line. That is certainly possible and has happened in the past like Gary Kildall, with CP/M - which was the most popular OS in it's day before DOS. Im also fairly sure people have rewritten the OSes for 80s machines as well.

Assuming you mean from scratch, not built on top of some bare bones linux distro, exc.
If your talking a basic OS like DOS, BASIC, or CP/M for modern hardware? I'd think that is certainly in the realm of possibility. And certainly if given 10 years.
If your talking 'Windows 3.1' esk - TempleOS is the best example.

If your talking a full featured OS, with high resolution and full color graphics, support for a bunch of hardware configs, internet, media playback, exc. Probably not.

Link to comment
Share on other sites

Link to post
Share on other sites

In the Operating Systems class I took we coded most of the basic pieces that make up an OS: CPU job handling, multi-threading, memory management, file/disk paging and management, basic implementation of a kernel and command line. Granted this was all in C and run as a simulation on a Linus box so it would take a bit more to actually get it running independently on its own hardware. 

 

I found it very educational. Its fascinating how the various components are so simple yet the entire system is so complex. 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×