+ 1

Which programing language are best for develop OS?

Which programing language are best for develop OS? And how I made my OS easiest? Thank

30th Apr 2021, 5:30 PM
P S
8 Answers
+ 3
In order to make an OS, a higher level language will prove to be more difficult to use because an OS needs low-level access to memory and hardware which is generally considered unsafe for application-level programs, so many high-level languages don't allow it. That's why most of the people prefer to either pick a low level language like assembly or pick a language like C which despite being high level language, gives you low level memory access.
1st May 2021, 1:17 AM
Arsenic
Arsenic - avatar
30th Apr 2021, 6:19 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar
+ 4
95% of Linux kernel is written in C language
30th Apr 2021, 6:11 PM
Aditya
Aditya - avatar
+ 4
❤️😍Prerana😍❤️ Who told you that you can use PYTHON for OS development ?? You can just write application softwares with it which are not related to kernel, OS or system programs .
30th Apr 2021, 10:49 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar
+ 3
Developing an OS is some big gang gang right there. Don't ever think it's easy, you aren't developing a website with basic HTML/CSS in the end of the day. I don't think you will have enough lifetime to do so I guess, let's suppose you don't know assembly/advanced C and don't know anything about "OS" e.g memory management etc(Note that this memory management has nothing to do with C/C++ memory management) you'll need years to be decent with them, and now what about writing 50m LoC by yourself? 🙂
30th Apr 2021, 7:33 PM
Maher Al Dayekh
Maher Al Dayekh - avatar
+ 2
P S C is the programming language most commonly used and recommended for writing operating systems. For this reason, we are going to recommend learning and using C for OS development. However, other languages such as C++ and Python can also be used.
30th Apr 2021, 10:23 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
+ 1
🌀 Shail Murtaza شعیل مرتضیٰ I told what I had read on it.
30th Apr 2021, 10:58 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
0
Objective C and C++ and know about machine langs and Assembly
2nd May 2021, 2:24 PM
Mr-K0anti
Mr-K0anti - avatar