3 ms·
Where's the best place to get details on the internals of the Windows kernel regarding things like that?
by girvo 12y ago
Where's the best place to get details on the internals of the Windows kernel regarding things like that?
- trentnelson 12y agoHonestly, the best set of docs I read were the design documents (about 30 .doc files) released as part of the Windows Research Kernel, which, uh, you may be able to find if you do some creative googling ;-) From those I was able to appreciate a lot of the why between the object model, I/O request packets (IRPs), handles, asynchronous procedure calls (APCs), memory section objects... basically all the individual concepts that have no equivalent in UNIX. ....and once you understand those primitives, you can start to appreciate the layered driver model, new thread pool stuff in Vista+, registered I/O in Windows 8+, etc. Books... my recommendation... Windows Internals is the best place to start: http://www.amazon.com/Windows-Internals-Part-Developer-Reference/dp/0735648735/ref=sr_1_1?ie=UTF8&qid=1428541644&sr=8-1&keywords=windows+internals http://www.amazon.com/Windows-Internals-Part-Developer-Refer... Oh, and basically any article Russinovich has written, check out the list on the articles section on his wiki page: http://en.wikipedia.org/wiki/Mark_Russinovich http://en.wikipedia.org/wiki/Mark_Russinovich (E.g. http://windowsitpro.com/systems-management/nt-vsunix-one-substantially-better http://windowsitpro.com/systems-management/nt-vsunix-one-sub...) Also... my interest in all of this stuff has grown exponentially since I started seeing real world results from PyParallel: https://speakerdeck.com/trent/pyparallel-pycon-2015-language-summit?slide=5 https://speakerdeck.com/trent/pyparallel-pycon-2015-language...
- nbevans 12y ago@trentnelson Don't forget I/O Completion Ports (IOCP) :)
- trentnelson 12y agoGood grief how did I not even mention them! They are literally my favorite thing ever. I've got like, 30 slides on them here: https://speakerdeck.com/trent/pyparallel-how-we-removed-the-gil-and-exploited-all-cores?slide=47 https://speakerdeck.com/trent/pyparallel-how-we-removed-the-... ;-)
- jyrkesh 12y agoI've heard really good things about the "Inside..." series: http://www.amazon.com/Inside-Windows-Microsoft-Programming-Series/dp/1572316772 http://www.amazon.com/Inside-Windows-Microsoft-Programming-S...