Skip to content
Sign upLog in
← Back to Community

How to make an OS

Profile icon
elipie

So I am interested in making my own os, though I cannot figure out how, I currently have two questions, What language should I use for OS development, and any good tutorials that I can read?

I know

@CSharpIsGud
made a really good os, can you give me some stuff on how you learned that?

Answered by SixBeeps [earned 5 cycles]
View Answer
Voters
Profile icon
ItzTezlaCodes
Profile icon
elipie
Comments
hotnewtop
Profile icon
SixBeeps

They actually wrote a guide on making an OS: https://repl.it/talk/learn/A-beginners-guide-to-OS-Dev-Part-1/33328

Profile icon
elipie

@SixBeeps
hmm didn't see that thanks

Profile icon
MocaCDeveloper

@SixBeeps

That is a good guide, for setting up the bare minimum of a OS.
There is much much more to an OS than just aligning data sections and compiling.

That guide just explains how to get the basic setup of the OS going.

Also, usually C is also used to develop an OS since it's low-level.
For Example: Linux

Profile icon
RYANTADIPARTHI

Here are a few links

https://www.wikihow.com/Make-a-Computer-Operating-System
https://www.youtube.com/watch?v=6MJUGVFAXKg
https://www.whoishostingthis.com/resources/os-development/

Profile icon
elipie

@RYANTADIPARTHI
vape god shop...?

Profile icon
RYANTADIPARTHI

@elipie
um, what are those?

Profile icon
elipie

@RYANTADIPARTHI
that was the site name lel

Profile icon
RYANTADIPARTHI

@elipie
oh, well, it's just tutorials. By the way, you do know I'm ryan from the team right?

Profile icon
elipie

@RYANTADIPARTHI
yh

Profile icon
RYANTADIPARTHI

@elipie
oh, ok.

Profile icon
RayhanADev

@RYANTADIPARTHI
hey man, can you at least put some effort into your answers an not just blindly give information to people. One of your links is a Vape tutorial, and I believe you didn’t even look at what information you just took the top links you saw when you googled it. Answering questions on Repl Ask should be about the person not getting cycles.

Profile icon
RYANTADIPARTHI

@RayhanADev
sorry, i didn't see that. But i actually put effort you know. I just didn't see that. Sorry again...

Profile icon
OlauPla

Here is a good link to start lerning!
https://www.javatpoint.com/os-tutorial

If this helped plz mark the question as answered

Profile icon
OlauPla

Swift is the best language for os development

Profile icon
MocaCDeveloper

@OlauPla

No, not really. Swift is a language for IOS, not for creating an OS. Apple uses Swift for there applications.

C is usually the better language to use, and most common language to use due to the fact it is low-level

Profile icon
RayhanADev

@MocaCDeveloper
what would you compare C to as a language, like what is it most similar to?

Profile icon
elipie

@MocaCDeveloper
uh, I believe c is a high level programming language, and so does google

Profile icon
CodeLongAndPros

@OlauPla
What rock have you been living under? Apple?

Profile icon
MocaCDeveloper

@RayhanADev

C++ is the next most "similar" language. But there isn't really any language that is "similar" to C. C is kind of a "one of a kind" language.
It's been around forever.

But, if I were to tell you a language that is roughly similar to C, I would say C++.

But most languages supports classes, high-level functionality etc meanwhile C doesn't and C is kind of the main entry point of that.
C++ was even written in C at one point(kind of trans-compiled I guess you could say). So many things(languages) used today kinda originated out of C..
I am getting too much into detail, but the most "similar" langue has to be C++..I don't see any other language being "similar" to C..

Profile icon
MocaCDeveloper

@elipie

C is a middle-level language. It isn't low-level, but it also isn't high level.

You can make the C code you write low level(like writing an OS), or make it mid-level, like opening a file and writing to a file.

But, C is BY FAR not a high-level language. A high-level language is something like Java, Rust, Python etc
C is nothing compared to those languages..not even close

Profile icon
RayhanADev

@MocaCDeveloper
huh nice. That’s pretty kewl thanks!

Profile icon
elipie

@MocaCDeveloper
I feel like im missing something...? I read a bunch of tutorials and High Level means mostly readable by the computer and low level is more readable by a human

Profile icon
OlauPla

@MocaCDeveloper
Oh thanks!

Profile icon
CSharpIsGud

@elipie
its the the other way around

Profile icon
MocaCDeveloper

@elipie

Wowah you have things mixed up lmao

Profile icon
elipie

@MocaCDeveloper
yeah im so confused are those sites a scam or are they just trying to be smart

Profile icon
MocaCDeveloper

@elipie

High-level languages are usually interpreted(like Python), and easy to read.

Low-level means it is now as readable and is often a bit more difficult to write and understand..
A low level language is something that, for example, requires memory allocation.
A high level language is something that needs no memory allocation, is garbage collected, and often times interpreted.

Profile icon
VihaanMody

Python is the best. You can make graphics and colored text and advanced calculation and hacking plus its so easy to read!

Profile icon
elipie

@VihaanMody
I am talking about making an os, and python is horrible for that. Very Very bad