0

I have found that windows is written in c, c++. C# is likely to make you more productive than C/C++. What are reasons to develop windows in c,c++???

Community
  • 1
  • 1
Jesi
  • 205
  • 1
  • 5
  • 9
  • 2
    An interesting question, but this is not the place for it. – Corey Ogburn Nov 01 '12 at 14:23
  • Side note, look into COSMOS. Windows will probably never be developed with it, but you can make your own OS in .Net languages. – Corey Ogburn Nov 01 '12 at 15:38
  • C# Requires a managed layer. Thus you cannot use C# directly on the CPU. That's why. – rxantos Oct 31 '17 at 01:44
  • Although most people find it very low level, an operating system has usually not much to do with user interface, or file explorers, etc. It basically has to do with management of the machine such that several programs can work on it efficiently and toegether. C# makes abstraction of this, so would be close to impossible to write it that way. C/C++ can manage memory of a program, etc. – Willem Van Onsem Jan 22 '18 at 15:54

1 Answers1

0

Weird question, how are we supposed to know Microsofts motives for using c/c++? My only guess is that c++ appeared some 17 years before c#, and normal c appeared even earlier, thus they started out using c/c++ and just didnt bother switching languages..

Simon Carlson
  • 1,919
  • 5
  • 24
  • 35
  • 5
    It has nothing to do with timing. There is a principal difference between C/C++ and C#. C# is a managed language, requiring a mediation layer, just like Java. Windows is in operating system and as such requires access to resources that aren't accessible by managed language directly. – SomeWittyUsername Nov 05 '12 at 13:42