TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Can anyone recommend a Windows Systems programming book?

123 点作者 Alekhine12 个月前
There's a hundred of these and I want something well-written. I'm primarily using Nim but a C/C++ book wouldn't hurt. Ideally it would have lots of exercises.

16 条评论

deaddodo12 个月前
The reason you&#x27;re not getting a good answer is because the ultimate answer is to just use Microsoft&#x27;s Documentation:<p><a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;apps&#x2F;" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;apps&#x2F;</a><p><a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;apps&#x2F;get-started&#x2F;start-here" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;apps&#x2F;get-started&#x2F;s...</a><p><a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;win32&#x2F;api&#x2F;" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;win32&#x2F;api&#x2F;</a><p>It covers near everything, is extremely exhaustive, and constantly updated. That being said, if you&#x27;re more interested in <i>how</i> the Windows API is organized&#x2F;works internally (why you have to give it handles&#x2F;resources and what those mean, for instance), then Charles Petzold&#x27;s series is generally considered the definitive resource:<p><a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;gp&#x2F;product&#x2F;B00JDMP71S&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;gp&#x2F;product&#x2F;B00JDMP71S&#x2F;</a>
评论 #40512303 未加载
评论 #40511375 未加载
评论 #40512972 未加载
explaingarlic12 个月前
The Windows Internals series is typically the go-to for what you&#x27;re looking for. Combine with MSDN browsing to determine what you want to do and how you want to do it.
评论 #40514344 未加载
评论 #40510919 未加载
评论 #40512944 未加载
wheybags12 个月前
The old new thing[1]. It&#x27;s a blog, but he did also publish a book[2] compilation of some choice blog posts. The book is from a few years ago, so some specifics might be outdated, but I think a real strength of the blog is how, despite being very targeted, focusing on specifics of one OS, it&#x27;s also very general. I also just really like Raymond Chen&#x27;s writing style.<p>1: <a href="https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;oldnewthing&#x2F;" rel="nofollow">https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;oldnewthing&#x2F;</a><p>2: <a href="https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;oldnewthing&#x2F;?p=28793" rel="nofollow">https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;oldnewthing&#x2F;?p=28793</a>
评论 #40512591 未加载
rlawson12 个月前
Programming Windows - Petzold
评论 #40511527 未加载
评论 #40511549 未加载
runjake12 个月前
Programming Windows and Inside Windows are the books you want.<p>Programming Windows covers systems programming in C and in later editions, in C#.<p>Inside Windows goes over the Window OS architecture in-depth. There’s not much programming in the book but you will come away with a deep understanding of the OS.<p>Both books are published by Microsoft Press. You’ll of course want the latest editions but if you come across earlier editions, those are fine too.<p>I’m partial to the earlier Petzold editions of Programming Windows.<p>The technical docs at microsoft.com are also super helpful and up-to-date: <a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;docs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;docs&#x2F;</a>
jocoda12 个月前
Off topic maybe, but would like recommendations for macOS too, especially C&#x2F;C++ given that everything is Swift now while I suspect that even so major apps are not using Swift. Windows has much more available.[1], [2]<p>[1]:<a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;sysinternals&#x2F;resources&#x2F;windows-internals" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;sysinternals&#x2F;resources&#x2F;win...</a> [2]: <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Windows-Kernel-Programming-Pavel-Yosifovich&#x2F;dp&#x2F;1977593372" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Windows-Kernel-Programming-Pavel-Yosi...</a>
评论 #40514575 未加载
kruador12 个月前
I would recommend &quot;Programming Server-Side Applications for Windows 2000&quot; by Jeffrey Richter and Jason D. Clark.<p>Richter also wrote &quot;Windows via C&#x2F;C++&quot;, which was previously titled &quot;Programming Applications for Windows 2000&quot; (4th edition) or &quot;Advanced Windows&quot; (3rd and earlier editions).<p>I realise these books are now very old (17 years old for &quot;Windows via C&#x2F;C++&quot; and 25 years for &quot;Programming Server-Side Applications&quot;) but really, the Windows API hasn&#x27;t changed all that much in that time.
pjmlp12 个月前
Besides the great learning resources at MSDN, the Windows Internals series is a requirement.<p>Then depending on which area of Windows you want to focus on, there are plenty of Microsoft Press books.
__alexander12 个月前
Hello, Windows via C&#x2F;C++ by Jeffrey Richter is what you are looking for. Yes, it’s a little dated but it’s a a great book to start with.
TazeTSchnitzel12 个月前
What kind of systems programming are you interested in? A sibling comment already mentioned Windows Internals, but that&#x27;s really about the architecture of the Windows kernel. If you want to write applications, you probably want to read something about the Windows API?
steve197712 个月前
What exactly do you consider systems programming, i.e. what would you like to achieve?<p>Windows is not open source, so unless you work for Microsoft, you won’t really be doing much “real” systems programming probably.<p>Do you want to program applications? Windows services? Device drivers?
评论 #40512190 未加载
评论 #40513424 未加载
dartos12 个月前
For the people here who know windows and Linux, what are some of the major differences between the two that you like&#x2F;dislike?<p>I know nothing about windows internals, but I’m curious
评论 #40513244 未加载
评论 #40513414 未加载
userbinator12 个月前
Anything by Matt Pietrek and Mark Russinovich.
anticensor12 个月前
Windows Internals, 7th Edition.
dmillar12 个月前
K&amp;R
brudgers12 个月前
.NET has been the standard interface at Windows system level for many years. The &quot;.NET languages,&quot; particularly C# will provide much less friction than .cpp (or Nim). For no other reason than the quantity and quality of tutorials and documentation written by technical experts and edited by technical editors who are getting paid to write and edit from line items in Microsoft&#x27;s regular operational budgets.<p>Or to put it another way, picking languages takes exploration of Windows system programing from an X problem to an XY problem. Good luck.
评论 #40510285 未加载
评论 #40510252 未加载
评论 #40511283 未加载