Operating System Collab

I’m just wondering, how do I make an operating System?

  • What languages do I use?
  • What do I do?

I want to make an OS because I want to sell it so I can move to Paris do a big collaboration.
Just ask if you want to join. You must have skills in at least three of these:

  • C
  • C++
  • Kotlin
  • Java
  • JavaScript (we’re gonna use TS)
  • Batch/Bash
  • Python

If you don’t have skills in at least three of those, then show some code you made in one of those languages.
You MUST be active to join. (or you’ll get kicked out)


Useless Useful Information

  • It’s called CrabOS
  • It’s on GitHub here
  • It has a license → GNU GPL v2.0 because v2.0 doesn’t allow Patent Use but v3.0 does
1 Like

I am unable to contribute with coding but I have a suggestion: make your OS Linux-based. This will save you a lot of time because you won’t have to code the kernel or anything like that. You can use Linux from Scratch to build a distro yourself, or fork an existing one. There are also some other open source OSes that you could base yours on. Or, if you have extreme skill and time, make the whole thing from scratch.

2 Likes

I was thinking I wanted something more Windows based, but I reckon I can do it Linux based.

1 Like

Windows is not open source and attempting to base an OS on Windows will likely result in a lawsuit.

3 Likes

No I meant something that acted like Windows.
Also I was planning to make the whole thing from Scratch.

2 Likes

That’s not possible. I am not aware of anyway to interact with hardware from Scratch.

Oh wait you didn’t mean the block coding Scratch, sorry!

To a certain extent, everything acts like Windows. I have Linux set up to be fairly similar to Windows because it’s familiar. It kinda comes that way though in a lot of cases. Now to make it truly act like Windows, you’ll need a Linux program called Wine that runs some Windows apps with varying levels of success on Linux.

Who said that!? I’m just gonna install the OS and let it take over my dad’s computer.

Yeah I meant I was going to make the whole thing myself

2 Likes

Sounds like a virus, especially if it does not need to interact with hardware.

2 Likes

Well, if you want to make an OS from scratch, your going to need to first design a Kernel, which requires knowledge of the Assembly language. I’ve heard its learning curve is probably the hardest of all “practical” programming languages. (Brainf*** and others are probably harder to learn but, why?)

2 Likes

Yes make a very good kernel. The Linux kernel has a mere 8 milion+ lines of code. But, it’s like 30 years old. Start small and then grow with time.

3 Likes

then let it be a virus! It’s a program that apparently it is a virus that’s not meant to be malicious. I’m not starting a hardware company so yeah.

Well, the point of an OS is to act as a “gateway” from applications to hardware and vice-versa. If it doesn’t do that I wouldn’t really consider it an OS.

I also created a post on this exact thing a while back and realized how ridiculously hard it is to create an OS from scratch

1 Like

Note that you can’t have a CLI-based OS

1 Like

An OS should be a series of programs connected to each other and the kernel, running on hardware.

A computer virus by definition is malicious.

I feel like there is some sort of miscommunication going on here about hardware. As bobastley said, the OS is like a gateway between the applications and the hardware.

The chain of command goes:
power cord → computer hardware → OS (and in the OS everything goes back to the kernel) → applications

So, the apps go through the OS to the hardware for everything, including system resources (CPU, RAM, etc.), speakers, and internet. The OS will need drivers to support the hardware (Linux has most of them built in to the kernel) in order to even run. Then it needs apps that support the OS.

3 Likes

That is not true at all. Some Linux distros are only a command line and you can install a GUI only if you want to.

3 Likes

And in case someone points this out, there is also the BIOS, which is like a tiny OS built into the motherboard. It controls the hardware and which hard drive the computer boots from.

1 Like

I would not recommend building an OS from scratch, especially if you don’t have experience with low-level concepts like I didn’t when I first asked the same question.

The reason why there are so many Linux distros is that the nitty-gritty is already developed, and programmers can simply use Linux as their base, and develop stuff that they actually desire. The only reason I even considered making an OS is because I wanted more control, and I personally feel Linux already has that control, not to mention it’s backed-up by the entire open-source community.

4 Likes

This is a very good way of putting it.

Yes it does, and depending on the distro you get even more control. I enjoy the freedom of Linux.

2 Likes

check out @bobastley’s topic on building an OS

3 Likes