-5

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 ?

  • 1
    http://stackoverflow.com/questions/580292/what-languages-are-windows-mac-os-x-and-linux-written-in – Blob Feb 21 '15 at 15:01

3 Answers3

0

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.

Jonathon Reinhart
  • 132,704
  • 33
  • 254
  • 328
0
  • 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.

    http://wiki.osdev.org/Languages

  • If you want to get into "hobby" OS development a good starting point is: http://wiki.osdev.org/

Jens A. Koch
  • 39,862
  • 13
  • 113
  • 141
0

According to some people at Microsoft, it is a mixture of C, C++ and C# (see MSDN forum)

Thomas Dickey
  • 51,086
  • 7
  • 70
  • 105