+ 11

What programming language is used for writing operating systems

21st Apr 2019, 6:16 PM
Joshua Andoh
Joshua Andoh - avatar
8 Réponses
+ 16
Operating system is mostly written in C language because it's an low level language which can interact with hardware as well as in the programming of microprocessor so to write operating system C language is most likely to be choose. For making an operating system you first should get information about all algorithms to make operating system like scheduling algorithm, deadlock prevention algorithm, resource allocation algorithm, shifting algorithms and so on. Which is used during scheduling of any task or process in the operating system. you should also learn working of computer architecture and microprocessor 8085 and 8086 which will taught you how to make any architecture like processor and different registers
21st Apr 2019, 6:35 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 9
Mostly C, e.g. in Unix.
22nd Apr 2019, 11:39 AM
Sonic
Sonic - avatar
+ 5
C and ASM for low level or direct access.
21st Apr 2019, 7:33 PM
Aleksandar Nedeljkovic
Aleksandar Nedeljkovic - avatar
+ 5
Window is written mainly with C (80 to 90%). But now, it's possible to translate kotlin or Python to Go or C. Go is (also) designed to write operating system .
22nd Apr 2019, 12:18 PM
Laurent Chretien
Laurent Chretien - avatar
+ 3
In addition assembly is used in the bootloader. ( the thing that switches to protected mode and loads up your kernel, among other things ) C cannot be used in this part ( not even inline asm ) because compilers cannot generate real mode compliant code. C++ is usually avoided because using std exceptions is a bad idea, which basically causes most of the C++ library to become unusable so you might as well be using C.
21st Apr 2019, 6:55 PM
Dennis
Dennis - avatar
+ 2
and i believe java is used heavily for android, specifically java 8... oops im refereing to android apps
21st Apr 2019, 6:38 PM
Tim Lynch
Tim Lynch - avatar
+ 1
Etc
25th Apr 2019, 8:14 PM
Code
0
C ,C++,python and xtml
22nd Apr 2019, 9:51 PM
George S Mulbah II
George S Mulbah II - avatar