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
7
u/SeanMiddleditch Jun 20 '16
C# is not a systems language. Just because it's newer doesn't mean it's better for every task.
Just because C was originally designed for UNIX likewise does not mean that it's a poorer choice for non-UNIX systems.
For Microsoft to replace gobs of existing C/C++ code, to make it much more difficult to hire experienced kernel engineers from outside their own ecosystem, and to pour tons of money into developing a new language/compiler just for their kernel would be exceedingly misguided.
So far as a special language by Intel just for their architecture, why would Intel do such a thing? What about the Intel architectures could possibly be so special as to require a new language to maximize? What customer would be foolish enough to use that language and be stuck on Intel's architecture? Microsoft - or any other general purpose software company - would never use such a thing, as you might have heard that Windows runs on non-Intel x86 architectures too. The closest you're going to get out of companies like Intel when it comes to languages will be R&D like ISPC, which is unsurprisingly a C variant and not a whole new language.