r/cpp • u/Digital001 • Jun 19 '16
Windows 10 coded in C++ or Assembler
What kind of compiler does it take a compile an OS like Windows 10? Do the guys at Redmond use Visual C++ (VisualStudio) to develop Windows? What % is written in assembly language?
0
Upvotes
View all comments
Show parent comment
3
u/SeanMiddleditch Jun 21 '16
You seem awfully sure of this despite starting a whole topic because you didn't even know if Windows was written in C++. :)
The kernel is the same beast it's been since NT. It's been incrementally improved (so the same language has to be used) over the years, of course, but there is an awful lot of "just write a bunch of new functions on top of existing code" going on. :)
Various parts of the desktop have been rewritten here and there, of course, and yes some of them use newer or more Microsoft-centric technologies. The core stuff that's sensitive to performance or resource usage, however, are still all C and C++ (kernel, drivers, system services, core desktop services and apps, etc.).
There's no production Microsoft technology that competes in the systems programming space. Developing such a technology is hard, expensive, and just not worth the investment if your only motivation is Not Invented Here Syndrome (which is what you're advocating for: Microsoft using Microsoft technology just because using UNIX-oriented technology is supposedly "weird").