Episode #479 from 1:00:21

Best programmers

In terms of beautiful code, there's two that stand out for me. One is the kernel in general. When you get down into the Windows kernel- ...in the actual NT APIs and stuff, it's very well written, and it's written to a standard that you don't see on the user side, or at least is uncommon on the user side. On the user side, probably the coolest code I remember seeing was a guy named Bob Day, who wrote a named pipe implementation to eliminate the use of shared memory. So Windows 95 had a big shared segment amongst all the shell processes where it would store stuff that was common to all the shells. We didn't want to do that. Shared memory is a bad idea on NT at an industrial level, so he came up with a way to do it with named pipes, and I remember doing a code review on it, and it was very impressive to walk through the code.

Why this moment matters

In terms of beautiful code, there's two that stand out for me. One is the kernel in general. When you get down into the Windows kernel- ...in the actual NT APIs and stuff, it's very well written, and it's written to a standard that you don't see on the user side, or at least is uncommon on the user side. On the user side, probably the coolest code I remember seeing was a guy named Bob Day, who wrote a named pipe implementation to eliminate the use of shared memory. So Windows 95 had a big shared segment amongst all the shell processes where it would store stuff that was common to all the shells. We didn't want to do that. Shared memory is a bad idea on NT at an industrial level, so he came up with a way to do it with named pipes, and I remember doing a code review on it, and it was very impressive to walk through the code.

Starts at 1:00:21
People and topics
All moments
Best programmers chapter timestamp | Dave Plummer: Programming, Autism, and Old-School Microsoft Stories | EpisodeIndex