I want to know which programming language has been used to code Windows OS. And is there a specific language programmers choose to make operating systems ?
-
1http://stackoverflow.com/questions/580292/what-languages-are-windows-mac-os-x-and-linux-written-in – Blob Feb 21 '15 at 15:01
3 Answers
As far as kernels go:
The windows kernel is written in C.
C is the only real choice in my opinion. C++ is too bloated and the exception model may be hard to work with. Assembly doesn't provide enough abstraction, and most everything else needs a VM.
- 124,861
- 31
- 240
- 314
Windows: C dialects.
Is there a specific language programmers choose to make operating systems?
Yes. In general, low-level programming languages are preferred. You need to be "close to the hardware". But, after this base for an OS is layed, then higher-level languages, which provide more abstraction allow a faster development.
If you want to get into "hobby" OS development a good starting point is: http://wiki.osdev.org/
- 37,346
- 13
- 106
- 132
According to some people at Microsoft, it is a mixture of C, C++ and C# (see MSDN forum)
- 47,166
- 7
- 60
- 95