Operating System
What Languages I Need To Create An Operating System??
@MdMahiMahi Hi,
Generally, C is the Programming language most commonly used and recommended for creating an Operating system.
But here are some specific languages used for specific OS's
1. Android = C, C++, Java
2. Berkeley Software Distribution (BSD) = C
3. iOS = C, C++, Objective-C
4. Linux = Many programming languages can be used, especially C.
5. Microsoft Windows = C, C++, and Assembly language
6. Unix = C and Assembly language
The common of most is C and it is what I recommend you.
Start learning a language and Stick to it...
With my best wishes
Hope this helps
Please mark my answer if this helps
@PattanAhmed Uh yeah.
“Linux: many languages”
Nodejs kernel, python drivers?
It’s all C, always has been, always will be.
@CodeLongAndPros Yes because of that I recommended him C too.
Thanks!
any programming language works, so long as it's turing complete
@mwilki7 That’s not true. Can you load a GDT, LDT, IRQ table, and jump to pmode in BF? Or, for that matter, Python?
@CodeLongAndPros you can do all that with any turing machine
turing machines can simulate other turing machines
@mwilki7 Yeah, but you can't make an operating system for x86 with brainf
@CodeLongAndPros
you could if you wanted to
@mwilki7 there are limitations.
There's one data type in BF, for starters...
You've have to build a turing machine to use it.
You’ll need NASM, C, and some sort of shell for anything better than an Apple ][
C and C++ are low-level enough to accomplish it.
Assembly works too.
Mainly C and Assembly, but it could also be done in C++. Read this for more info. Hope this helps :)