Which programing language are best for develop OS? | Sololearn: Learn to code for FREE!


Which programing language are best for develop OS?

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

4/30/2021 5:30:49 PM


8 Answers

New Answer


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.




95% of Linux kernel is written in C language


❤️😍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 .


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? 🙂


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.


🌀 Shail Murtaza شعیل مرتضیٰ I told what I had read on it.


Objective C and C++ and know about machine langs and Assembly