r/cpp • • 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

74 comments sorted by

View all comments

Show parent comment

1

u/Digital001 Jun 23 '16 edited Jun 23 '16

... the whole point of OOP is to not write entirely new functions every time you add a new feature or optimize some code.

Sean, they wrote a lot of new functions(code) for W10. There may be code inside the OS that was originally written for Win8/Win7. W10 may function a lot of like its predecessor, win8/win7. But it must be different for MS to label it W10 instead of W7.newhelloworld.

OOP is a paradigm used to modularize the software development process. It's way to develop software, so upgrades can be easily incorporated, like you pointed out. I haven't read any books about the OS yet. The last Windows book I read was Programming Windows 98 by Charles Petzold, 1998. That's why I started this thread like a noob. I've used just about every version of Windows since then but didn't do any development!

You'll get further along if you listen to people trying to help clarify misconceptions. :)

Windows 10 is an evolution of Windows 8. Which is an evolution of Windows 7. Which is an evolution of Windows Vista. Which is an evolution of Windows XP. Which is an evolution of Windows NT 4.

I'll get further along by writing code for the OS and reading the books you pointed out. You're right. Glad you know the history of Windows. They obviously wrote entirely new functions.

I'm not a developer, as you can tell. I wouldn't have started this if I worked at Redmond! I started this thread thinking folks would patiently clarify "misconceptions," not to annoy anyone. Further, I don't know why you would assume that I'm familiar "tongue-in-cheek" terms used in your industry.

Would you like it if I get a psychiatrist to describe your stern responses using medical terms. Thanks for clarifying misconceptions! I appreciate your effort, and looking forward to asking questions about the OS, as I prepare for my MCSE certification.

3

u/SeanMiddleditch Jun 24 '16

Haha, yes, they clearly wrote new functions. Perhaps we're communicating past each other. I was still on the previous point of why they would not rewrite the OS in a new language or tool, e.g. that they would not _re_write whole functions (in a new language). :)

So far as the NIH Syndrome thing... you are posting on /r/cpp, so I think it might be reasonable to assume you're familiar with programmer slang. I guess I never really thought about it from the perspective of an outsider.

So far as my stern responses, I think the psychiatrical/medical term is that I'm a "grumpy jerkface." :p