TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Which programming language is used for making Windows 10?

244 pointsby donnemartinabout 6 years ago

17 comments

TravHatesMeabout 6 years ago
A project of such scale and longevity always seems to pique my interest. I bet there are some interesting historical artifacts in that codebase. Why is old code so fascinating?<p>Decades ago someone as insignificant as you wrote this code. I find it especially interesting to come across comments in code, which allow developers to express themselves outside the confines of the language. I feel like a historian in this context, analyzing this person&#x27;s thoughts and state of mind. Perhaps the author included elements of emotion or humour. Who was this person? An insignificant developer, as I am -- did they ever become something of themselves?<p>I think the developer&#x27;s story is rarely told, but it&#x27;s a story worth telling!
评论 #19661814 未加载
评论 #19660938 未加载
评论 #19661021 未加载
评论 #19662016 未加载
评论 #19661363 未加载
评论 #19660802 未加载
评论 #19661356 未加载
评论 #19661946 未加载
ralphcabout 6 years ago
Back in the late &#x27;80s, my company had a program that included getting the Windows 3.0 source code. Looking through the code I had found the line &quot;goto wearefucked;&quot; and accompanying label further down. When we got the source for Windows 3.1 the first thing I did was check that file, but to my disappointment the label had been changed.
评论 #19662220 未加载
swedenabout 6 years ago
This post is kind of dramatic. Windows is much more than a simple kernel: it is a collection of drivers, tools, a desktop envinroment, a network stack, user base applications (like Paint), etc, etc.<p>If you compare it to the entire Ubuntu project, you will se a project of similar dimensions.
评论 #19660544 未加载
vcanalesabout 6 years ago
&gt; You can spend a year (seriously) just drilling down the source tree, more than a half million folders containing the code for every component making up the OS workstation and server products and all their editions, tools, and associated developement kits, and see what’s in there, read the file names and try to figure out what does what.<p>This makes me really want to know how they manage to document everything to make such a huge project easy to work with.
评论 #19660744 未加载
评论 #19661333 未加载
Bizarroabout 6 years ago
Anybody interested in the history of NT should read <i>Showstopper!: The Breakneck Race to Create Windows NT and the Next Generation at Microsoft</i><p>It focuses on Dave Cutler, the father of NT
评论 #19665373 未加载
dborehamabout 6 years ago
There was Prolog in the network stack configuration system. At least there was way back when.
评论 #19661222 未加载
评论 #19660711 未加载
snazzabout 6 years ago
500 GB strikes me as quite small. The entire Git repository (it sounds like Microsoft uses Git internally) must be a whole heck of a lot larger than this if there are over 60,000 commits every few weeks.<p>Still, it’s a mammoth project, which makes it all the more impressive that it works (most of the time).
评论 #19660893 未加载
评论 #19660569 未加载
missjellyfishabout 6 years ago
The real question is: is it compiled with the same msvc compiler that ships in the SDK? If so, they don’t even use C99. C89 all the way. That especially means no variable declaration anywhere in the function body.
评论 #19661068 未加载
评论 #19660920 未加载
评论 #19661607 未加载
评论 #19661186 未加载
评论 #19669132 未加载
评论 #19661085 未加载
评论 #19661212 未加载
octosphereabout 6 years ago
<a href="https:&#x2F;&#x2F;www.wired.com&#x2F;2014&#x2F;03&#x2F;msdos-source-code&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.wired.com&#x2F;2014&#x2F;03&#x2F;msdos-source-code&#x2F;</a>
eclipseo76about 6 years ago
I&#x27;m actually surprised they use GIT internally. I would have thought they have their own custom VCS. It says a lot about the success of GIT.
评论 #19661494 未加载
评论 #19661572 未加载
评论 #19662167 未加载
solarkraftabout 6 years ago
Does anyone happen to know how the Windows shell (CShell?) is built? Winforms? WPF? UWP?
评论 #19662135 未加载
评论 #19661073 未加载
agumonkeyabout 6 years ago
remember the MinWin project ? <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;MinWin" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;MinWin</a><p>I wonder if it helped shrinking the code base too
评论 #19660850 未加载
superasnabout 6 years ago
Makes me wonder if there exists an OS that is truly written from scratch designed for only modern hardware and devoid of all backward compatibility and bloat (like the JS frameworks ditching support for msie).<p>It would be certainty a very interested side project I guess.
评论 #19662547 未加载
评论 #19661999 未加载
评论 #19662054 未加载
评论 #19662566 未加载
评论 #19662216 未加载
评论 #19662671 未加载
athacaabout 6 years ago
(serious) how do I become a kernel engineer coming from a background of javascript and swift?
评论 #19662330 未加载
评论 #19709105 未加载
monochromaticabout 6 years ago
That’s a little surprising. I would have figured that outside the kernel&#x2F;drivers, it’d be all C++.
评论 #19665488 未加载
评论 #19660864 未加载
tus87about 6 years ago
&gt; Windows 10 is the same (evolved) code base as the code base of Windows 8.x, 7, Vista, XP, 2000, and NT<p>Err....it&#x27;s been NT all along.
评论 #19662349 未加载
8456523about 6 years ago
&gt; You can spend a year (seriously) just drilling down the source tree, more than a half million folders<p>I would be more inclined to switch to Windows if its source tree were <i>smaller</i>.<p>My guess is that a big reason I prefer MacOS over Windows is that Apple has been much more willing to drop support for legacy hardware and old applications to keep the source code more manageable.
评论 #19662031 未加载
评论 #19664543 未加载
评论 #19662358 未加载
评论 #19662260 未加载