Dave Plummer: Programming, Autism, and Old-School Microsoft Stories | Lex Fridman Podcast #479

Lex Fridman| 01:50:28|Mar 27, 2026
Chapters17
Dave Plummer, a veteran Microsoft developer who contributed to Windows 95, NT, and XP, discusses his career, iconic tools like Task Manager, Space Cadet Pinball, and his books and YouTube channel as part of a broader conversation about programming, computing, and building in the “garage” spirit.

Dave Plummer shares Windows legends, from Task Manager’s origins to NT internals, autism advocacy, and a garage-born passion for building cool tech.

Summary

Lex Fridman sits down with Dave Plummer, a veteran Microsoft engineer whose fingerprints are on Windows 95, NT, XP, and the Windows Task Manager. Plummer describes porting Windows 95 UI to NT, implementing Unicode, and moving memory-heavy components into high memory, all while wrestling with the notorious 640K limit. The conversation dives into DOS-era roots, the Space Cadet Pinball port, and the genesis of Visual ZIP, a shareware hit that later drew Microsoft’s attention for acquisition. Beyond code, Dave opens up about his life with autism, the monotropism theory, social challenges, and strategies like explicit communication and post-interaction processing that help him navigate relationships and teamwork. He candidly reflects on his unconventional path—dropping out of high school, rebuilding after setbacks, and forging a successful career through relentless curiosity and a love for debugging as much as building. The talk crescendos with industry observations: the power of tools, the impact of Dave Cutler’s leadership on Windows, and the evolving future of programming with AI-assisted coding and “vibe coding.” Interspersed are personal stories about driving innovation, teaching, and the meaning he finds in creating software that touches billions of users. It’s a tour through history, craft, and a deeply human approach to technology. If you’re passionate about systems, hardware, and the human side of engineering, this conversation with Dave Plummer is a treasure trove.

Key Takeaways

  • Windows 95’s leap was driven by a new shell and 32-bit capabilities, inspiring Dave Plummer to contribute to the NT port and shell evolution.
  • The Windows 95/NT porting effort required Unicode conversion and multiprocessing awareness, with a focus on avoiding base RAM waste and memory management tricks like HIMEM and A20 in early x86 days.
  • Task Manager began as a personal need (87KB original, multithreaded by design) and later evolved to call NtQuerySystemInformation for fast, robust process telemetry.
  • HyperCache (a C-based disk cache for the Amiga) helped Plummer bootstrap his MS-DOS career and later connect with Microsoft via cold-email outreach to Windows teams in Redmond.

Who Is This For?

Essential viewing for software historians and engineers curious about Windows’ early architecture, MS-DOS to NT porting, and the human side of a legendary coder who built tools used by billions.

Notable Quotes

""Task Manager is a way to go in and find out which apps on your system are using the computer, using the CPU, using the memory, and which ones might be using too much.""
Dave defines Task Manager as a diagnostic tool, underscoring its core purpose.
""Dave Cutler is the architect of the kernel. So he is Linus in the Linux world. It's Dave C. in the Windows world.""
A succinct tribute to the keystone figure behind Windows NT’s kernel."
""640K is the maximum that's ever gonna be available... so it's not what's available to you as an operating system developer.""
Plummer reflects on memory constraints shaping OS design decisions.
""I love to fix stuff. 80% debugging, 20% creating—that's been my life’s rhythm in software.""
A candid snapshot of Plummer’s engineering persona and career pattern.
""Be specific. Don’t assume I’ll read between the lines. Dave, this is what you need to do.""
Autistic-focused advice on communicating effectively with colleagues.

Questions This Video Answers

  • How did Windows 95 and NT influence today’s Windows Shell and UI design?
  • What is the significance of the 640K memory limit in early x86 systems and how did developers work around it?
  • How did Dave Plummer contribute to the Windows Task Manager, and what were the key design decisions?
Windows 95Windows NTMS-DOSDave CutlerTask ManagerSpace Cadet PinballVisual ZIPHyperCacheautismmonotropism','RL (reinforcement learning) for Tempest','PDP-11
Full Transcript
- The following is a conversation with Dave Plummer, programmer and an old-school Microsoft software engineer who helped work on Windows 95, NT, and XP, building a lot of incredible tools, some of which have been continuously used by hundreds of millions of people, like the famed Windows Task Manager. Yes, the Windows Task Manager, and the zip/unzip compression support in Windows. And he ported the code for Space Cadet Pinball, AKA 3D Pinball to Windows. Today, he's loved by many programmers and engineers for his amazing YouTube channel called Dave's Garage. You should definitely go check it out. Also, he wrote a book on autism and about his life story, called Secrets of the Autistic Millionaire, where he gives really interesting insights about how to navigate relationships, career, and day-to-day life with autism. All this taken together, this was a super fun conversation about the history and future of programming, computing, technology, and just building cool stuff in the proverbial garage. This is the Lex Fridman Podcast. To support it, please check out our sponsors in the description, and now, dear friends, here's Dave Plummer. Tell me about your first computer. Do you remember? - I do. I didn't own my first computer for a long time, but the first computer I ever used was a TRS-80 Model 1, Level 1, 4K machine, and I rode my bike in fifth or sixth grade, so I was about 11, to the local RadioShack. And, you know, they had the standard component stereo systems, everything else RadioShack had, but they had a stack of boxes that was labeled "computer," and so I was asking the people who worked there about it, and they said they just got it and they hadn't set it up yet. And so I was rather precocious and I figured, "Well, I'll set it up for you," and they said, "Okay. Have a shot." (laughs) - Did you know what you were doing? - Absolutely not. I mean, it's no worse than a component stereo. The only thing is that Tandy, in their infinite wisdom, used the same five-pin DIN connector for power, video, and I think cassette, so they were all identical, and if you plugged them in wrong, you'd blow it up. So I read the label and got it working and wound up playing with it and not knowing anything about computers, so I'm typing English commands into it and, you know, PRINT 2+2 works perfectly, yet more simple English that you enter into a Basic Level 1 interpreter is not going to get you very far. - So you're trying to talk to it in English? - Didn't know any better. And I still have an old foolscap that I wrote in sixth grade of a program that's kind of illogically correct but has no chance of working on any interpreter that existed at the time, so it took me a while to figure out what was actually going on with them. But I rode my bike down there every Thursday and Saturday, and they were gracious to let me use the machine. - When was this? - '79, '80. - Okay. What was the state of the art of computing back then? So what are we talking about? - Well, the big three had come out. There was the TRS-80 Model 1, there was the PET 2001, and the Apple II came out roughly simultaneously. - Apple II. Would you say that's the greatest computer ever built? - Probably in retrospect. Well, I would probably give that to the Commodore 64. - Yeah. You and I agree on this, that that was my first computer probably many years after it was released, but yeah, Commodore 64's incredible. But yes, Apple II had a huge impact on the history of personal computers. - Right. It's hard to gauge the long-term impact, but I think the 64 itself probably influenced more people, so that's my reason for picking that one. - You think so? - The sales were certainly higher. - So Commodore 64 sold a lot? - Yeah. I mean, the numbers are hard to believe. It depends which numbers you believe, but even the medium estimates were pretty high. - All right, cool. So you eventually graduated to the Commodore 64. Tell me about that machine. What did you do on the Commodore 64? - Well, the first thing I did was overheat the floppy drive on it, which was unfortunate, because it wasn't a warranty machine. My parents didn't have a lot of money, so we bought it from Computer House as opposed to one of the major retailers, which meant when it died, it had to go back to Germany or something to be fixed. So I was left with no floppy, and so I had a cassette deck, which was the best you could do at the time, and so I was writing small things, and I had a machine language monitor that you could load from cassette. It didn't have an assembler built in, but it had a disassembler, so you could enter the op codes in 6502 in hex, and if you were careful about planning, you'd be able to write some basic programs. So that's kind of how I learned. The first thing I ever wrote on it was a clone of Galaga. Now, it's a bad clone of Galaga, but it has the major enemies that attack over time, and it's all written in hand-coded machine language, and you can't relocate 6502, so if you need to add code in the middle, you need to manually sort of jump to somewhere else, do your work, jump back to where you were. It's just hideous spaghetti code, but it all worked eventually, and I went to make a backup of it to preserve it for future scholars, or whatever the hell I was doing. And I copied my blank floppy onto my data floppy. So that was my first experience with data management. - Oh, no. - So I don't have a copy of my first program anymore. - What was that feeling like, of just doing something, if I may say so, like stupid, you know? Which is a part of the programming experience. - Yeah, there was a huge amount of guilt because, right, you destroyed several weeks - Yeah. - of work, and you know it was because you rushed, - or you did something stupid, or you made an unwise choice. - Can you tell me about the programming involved in that game? - So it's literally machine language. - So machine... so it's not even assembly? - Not assembly yet, because there was no assembler built in. So I should have written an assembler, written in assembler as my first task, but I wasn't that clever, so... - How hard is that to do? - Trivial, and it's one of those things that sticks, I think. You do it so many times. You know, if I give you a C issue, there are certain syntactic issues in C that you're never going to forget and get wrong. And it's just one of those. - Like, what are the limitations of programming in machine code, as a programmer? - The biggest issue is you have to write completely sequentially because at least in that variant, 6502, you can't add things later. You can only add things on the end. So it's like programming a tape in a way. - What was the most complicated thing you've built with machine language? - That game would be. I mean, in assembly language, I've done a fair bit of complicated stuff, but in actual machine language, I think that game would be the only thing I've actually... - You literally built a game. - Not a great game, but it worked. - Okay. All right. And then you erased it? - I did. - All right. When did you first fall in love with programming? When you figured out, like, this is something special. - I think there were two stages for me. I always knew immediately that I was fascinated with these machines, from the TRS-80 Model I. All I wanted to do was ride my bike back there and have more time with it. And I did that to wear out my welcome as much as I could. And the other revelation came, I think, about the second or third year of university, when I realized, "I love programming, but I have no idea what I'm going to do. Am I going to make the 12 flash on a VCR somewhere? Or am I going to go work on an operating system? I have absolutely no idea what I'm going to do post-graduation. But I love what I do." And so, I think that was a lot of consolation. It's like, it doesn't really matter what I'm doing at this point, because I kind of love doing it, so... - So, you'll figure it out. As long as you're following this kind of feeling that's telling you- - I knew I was in the right area, finally. Yeah. - Yeah. All right. You dropped out of high school. - Yeah. Not the smartest move. - Okay. But you ended up going back to school and being very successful at school and, just in general, successful as a programmer, as a developer, as a creator of software. How were you able to find your way? Can you tell that journey of dropping out- ... and then finding your way back? - There's no moment when I dropped out. You just go less and less and less until you realize it's going to be embarrassing if I show up cause I haven't been there in a long time. And then pretty soon you're just not going, and that's how you drop out of high school. So, if you find yourself on that path, stop doing that. But that's precisely what I did. And so now I'm not at school, and I have to get a job, so I'm working at 7-Eleven and a paint warehouse and stuff like that. And 7-Eleven is actually kind of an interesting job, because it's a job I think they keep rotating for people that are smart enough to do the night shift with all the accounting and the administration and stuff they make the night shift do, but that have reasons personally that they need to work at 7-Eleven. And I was one of those people, cause I had no high school diploma. - What are some memorable moments from that time at 7-Eleven? Well, maybe what do you appreciate about the difficulty of that job? - Probably the worst moment for me, I mean, I got held up at knife-point and stuff, and that's all entertaining, but the worst... The most, the suckiest part for me was doing the gas dips. We've got a long, it's like a 15 or 20-foot wooden stick and it's measured in gradients of inches and feet, and you drop it into the gasoline tanks and then you bring it up and you measure where the gasoline sits, cause there's no electronic sensor. So, I'm doing that and the first time I do it, I drop the pole and I re-grab it. Well, that's about a thousand splinters of wood into your hands, and it's 40 below out, and that really sucked. - Oh, wow. - And I realized, "I don't want to do this for a whole life." I knew that, so... - Okay. So you stand there frozen with splinters in your hand. - And at some point, I have a revelation about my life that next time I'm going to do it differently. And then how ludicrous that is hits me about three seconds later, right? And I think that was really the moment for me where I realized that I've got to do something different. And so even though I was 21, I went and I talked to the principal of my local high school, and I was like, "Can you let me back in?" And he's, "No, you're too old and we don't have room," was his main reason. And I said, "Well, between now and then, somebody's going to drop out. So you'll have room. So let's assume you have room. Can I come back?" And he was gracious and let me come back. And so I did the three or four classes that I needed. - Yeah, you know, just if you can linger on that, the slow dropping out. That's a weird thing that you can do with your brain. You realize to yourself that you don't have to do the thing that everybody else is doing, and that's a dangerous realization because like, you kind of have to be part of society to do certain things. - Right. - And if you realize like you don't have to do what everybody else is doing, you can either have an incredible life or a really difficult life. - Well, the problem with that process is you're making a much smaller decision. "I'm just not gonna go to class today." - And that's all you're deciding, but you do that enough times, you're making a much bigger decision. And that's the problem. - So it's better to make... If you want to live life in a non-standard way, it's better to make the big decision explicitly, and then you can stop going. - Don't allow yourself to make the slip-ups, though. - It'll be made for you eventually. - Yeah. Okay. Well, you got back, and you eventually went to college and were very successful as a student, and you weren't that good of a student before. - No, I was a terrible student in high school, and even my first semester of college, I still wasn't taking it quite seriously because I got mercy passed in Geometry 90, which is like the makeup class for the Geometry 12th grade class that I didn't have. And that scared me 'cause I realized by 1%, or the grace of the professor that let me through, I just about ended my entire university career here. So fortunately, those marks don't count on your transcript 'cause they're remedial classes, and so I got kind of a fresh start the next semester and did it for real, and I did it for me, and that made all the difference. - What can you speak to, maybe by way of advice, on how to be successful as a student? - Well, ideally there's some aspect of school that you do enjoy, whether it's art, whether it's computer science, whether it's shop class, whatever. So go for those classes and and just put up with and do the hard stuff because it's way easier than having to do it later. That's easy to say when you're 50-something; it's harder when you're 15-something, but... ...It makes a lot of sense. - All right. What's the story of you joining Microsoft? How did we get there from 7-Eleven to Microsoft? - Yeah, it's a big jump. So I had gone back to school, and I think it was in my third year of university. I was working for the phone company for the summer as a job, doing conversions of their UBNet to TCP/IP and modern networking, which really amounts to swapping cards but then figuring out why their config.sys doesn't allow Lotus to run anymore because it's got 10K less than it used to. It's just a horrible time to be working in computers, but I was doing it. And at lunch, I'm sitting in the food court with the old and the bored, and I'm reading a book that I had bought called "Microsoft, or Bill Gates, and the Making of Microsoft Hard Drive," I think is the title. And it's a great book. It's just a matter-of-fact history of how Microsoft came to be, what it's like, how it operates, what the people are like there. And I'm reading this book and I become really entranced by it and fascinated because it sounds like exactly the place I want to be. But I'm in Saskatchewan, so what am I going to do about it? What I wound up doing was, I had put myself through school with a program called HyperCache, which is a file system cache for the Amiga because the Amiga didn't have any out of the box. And it had done reasonably well. So I went through my registration cards, because in those days you had a four-by-six card that people had to fill out with their name and their address, and if they had an email, their email, and they'd send it in. They'd get notifications of updates and so on. It's shareware. And I went through the whole stack looking for anybody with a Microsoft email address. And I found maybe three or four people, and I just cold-emailed them and said, "Hey, I'm an operating system student in Saskatchewan looking for an opportunity." I don't remember exactly what I said. But one guy, Alasdair, Alasdair Banks, he wrote back and he said, "I know somebody that I can put you in contact with." And he put me in contact, I think, with a guy named Ben Slifka, who did a phone interview, who eventually wanted to hire me to work on MS-DOS for the summer. So that's how I got there. - You put yourself through school by... Tell me about HyperCache. You built a piece of software... - It's the weight-loss program for hard drives. - That was sufficiently useful to a large number of people that would somehow give you money? - Yeah, it made decent money. I mean, I sold a couple thousand copies. At 20 bucks a copy or 40 bucks a copy depending on the rules. - What language was it written in? - C. - So there were some assemblers. The actual really tight code to do the real work of transferring data to and from the cache was 68,000 assembly. Everything else was C. - Okay. This is like file system I/O? - Device block I/O. Any block that gets serviced from the drive would go through my cache first, and it was an N-way associative cache, so it would try to match the geometry of the the geometry of the drive and do pre-fetch based on you're trying to read a whole track at one time, that kind of thing. - What was it like trying to get your software out there at that time? Like, how were you able to find customers? - Yeah, it's interesting. I think I started on Usenet and some of the Amiga forums, posted, "Here's my trial version, try it out for 30 days, see what you like." And eventually it got picked up by a few retailers, and I remember I was with my now wife in her car, and she had a cell phone, cause her dad was very concerned about her safety. And so this is late '80s, and she's got, you know, the antenna on the roof and the big box in the trunk, the whole deal. But we got a call from one of the software retailers that wanted to buy 50 copies at 20 bucks, which to me is a thousand bucks, which in 1989 or whatever year it is was a big deal. And so eventually a number of companies just bought inventory. - Let's go to that time. It's such an interesting time with Bill Gates and Microsoft. Why do you think Microsoft was dominating the software and the personal computing space at that time and really for many, many, many years after? - At the time, it was the single most potent assemblage of smart people that I've ever been a part of. And I've been in academia and I've been in industry to a certain extent, and you know, when you're working at a regular computer company, the one guy who actually knows what he's doing, his smarter friend? He probably works at Microsoft. So when you get there, you're the big cheese from your small town, you think you know a lot, and all of a sudden, you're just in an environment where you're like, "Uh-oh, I'm just not gonna - Mm-hmm. Okay. What about Bill Gates himself? What are some qualities of Bill Gates that you think contribute to the success of Microsoft? - I think he was relentless in the pursuit of his one dream, which was his old slogan of a computer in every home and a computer on every desk. It was his special interest, and he was a smart guy, super determined, and he hired people that were as smart or smarter than him to help him execute it. And he built an almost unstoppable machine of intellect to go forth and make, let's say, very simple products. MS-DOS is not a complicated product by any stretch, but it's exactly what the market needed at that time. - Yeah, I mean, MS-DOS changed the game. And, that's actually the team you joined, the MS-DOS team, and I think you joined before Windows 95 was released. So tell me about the story of MS-DOS. Its success of MS-DOS is probably pivotal to the success of Microsoft. - Yeah, before DOS, they were largely a language company, so they had made BASIC for a lot of computers and they had a Fortran compiler and a Pascal compiler, that kind of thing. But their deal to have MS-DOS included with every version or every instance of the PC effectively set them as a standard that they were able to leverage for decades going forward. And to a certain extent, they lucked into that, and on the other hand, they were smart to have done it. They didn't charge IBM a lot of money for it, but making it a standard really played out to their advantage over time. - So at that time, MS-DOS, no graphical interface. Can you just speak to what the heck MS-DOS is? - It's largely a command launcher. You type in a name of a command. It looks it up to see if that's in the current directory or on a special path of folders, and it loads it into memory and executes it if it's there. That's 90% of what MS-DOS does. It has environment variables and some complexity and a small scripting language built in, but it is basically just an operating system shell that allows you to use the resources of the computer, like the hard drive or the CPU. It doesn't allow you to multitask. There's no graphical interface. Microsoft did add a text-based graphical interface for things like an editor and QuickBASIC in DOS 5.0, I believe. And there was a DOS shell, which was sort of a graphical file manager in MS-DOS 4.0. So they experimented with it, but it's largely a command prompt. - Does it have the ability to communicate with external devices, so drivers and all that kind of stuff? How expansive of an operating system was MS-DOS? - It was limited by the original x86 instruction set, which limited it to 640K. - And then there were various Band-Aids on top of that to do high memory and then extended memory beyond that, and A lot of hoops have to be jumped through to make anything work without consuming base RAM. - Yeah, I mean, you programmed on MS-DOS. What's it like? What are some interesting details there? Like you said, there's the memory constraints of 640 kilobytes. - Yeah, 640K is the maximum that's ever gonna be available, so it's not what's available to you as an operating system developer, because whatever you use is what the user won't get. So if you use 10K needlessly, you're gonna... Every machine in the world now has 10K less, so it's kind of a big responsibility. - Is that a true quote from Bill Gates, where he said, - "Nobody will ever need more than 640K"? - Yeah, no, it's not him. - Okay. - It's been attributed to him, but not real. - Okay. So what are some interesting aspects of what you were able to do as an intern and when you joined on MS-DOS and beyond? - One of the first things I did was to take SmartDrive, the disk cache, because I had familiarity with disk caches- and to add CD-ROM caching to it, because that was new. CD-ROMs were just coming out. Microsoft Bookshelf is one of the few products you could run for it. And as you can imagine, caching a CD speeds it up by dozens of times if you're smart about it. So it was a big performance win and a nice thing to work on. A bigger part of that was moving a bunch of SmartDrive and eventually the double-space compression engine up into what's known as high memory. And without rat-holing on the technical aspect of it, on the x86, there's something I believe called the A20 line. I probably have this backwards, or I got a 50-50 shot at it, but if you've got the A20 line asserted, then your memory pointers wrap at the one megabyte mark. If not, they don't, so you continue going up in memory. You can rewrite memory above by combining your segment and offset registers to a number bigger than one megabyte, and you get an extra 64K. You put your code in there, and then you just put stubs to jump to it from low memory. You can get another 64K out of the machine that way, and we did that for a couple of products. And that's... I had no idea what HIMEM was, 'cause I was an Amiga programmer and I'd never written any x86 code before I got there, so... - So that was, like, a cool optimization you got to be a part of. So what about Windows? There was a parallel development of Windows 95, right? At that time, did you get a chance to interact with those folks? - I actually worked on Windows 95 for about three or four months. I was on the COM/OLA team doing the presentation cache, which is when you insert, say, a Word or an Excel spreadsheet or chart into a Word document. You don't want Excel to have to be loaded to render it every time, so there's a presentation cache of enhanced metafiles and I was working on that. So that shipped in Windows 95, but I moved to the Shell team about six months after getting to Microsoft, so I worked on NT from there forward. - Okay, and what's 95? What's NT? - Windows 95 is an evolution of the original 16-bit Windows 3.1, which was the very first popular version of Windows. It adds 32-bit support, then VxD drivers and a bunch of new technology, and an entirely new user interface. It's something that at the time was revolutionary. People lined up at night to wait in line to buy the thing. - Can you just take us back to that time and describe why 95 was such a big leap from 3.1? So Apple already had a graphical interface. Windows 3.1 had a graphical interface. Why was Windows 95 such a gigantic leap? - I don't want to make it as basic as the Start menu, but I think... ...it's a big part of it. I know when I first saw it... ...I couldn't quantify what about it was different and awesome, but I realized that I wanted to be a part of it, and that's why I started writing a Shell extension, which became zip folders at some point. But I was just fascinated by the new Shell, and that's why I wound up working on the team that brought that Shell over to NT and what's Windows today. - Would you say that's the greatest operating system ever? What's the most impactful operating system ever? - Windows 95 would be number two for me. I think OS/360 is going to be number one. - Okay, interesting. - 'Cause you could take a machine and write a COBOL program for it in 1962, jump in your time machine, go to Poughkeepsie and boot up an IBM z17 mainframe and run it today. And they've been doing it for however many years, that is. And it's all on the business side, so we as consumers don't have much access to it, but I think it was probably as influential in the commercial side as Windows 95 was in the home side. And then probably Linux would be number three for me. I put Linux as b- as bigger than Unix, which doesn't work 'cause you can't have one without the other, but the impact of Unix, BSD, and so forth, is largely in the academic space. It's by programmers for programmers. - So yeah, Linux created... I mean, it was the embodiment of the open-source spirit at its largest scale, all right? So it's almost created a community and it created a spirit of programming that propagates to this day. That's true. That's true. Like scale matters. - Yeah, and its penetration on the server side of things now is, I don't know if it's equivalent to what System/360 achieved, but it's almost ubiquitous, so... - Yeah, the world... I mean, this is the quiet secret of the universe, is it runs on Linux. Okay, so tell, tell me about your work days. What were they like back then, back in the MS-DOS and Windows 95 days? Take me through a productive day. - Well, your day starts coming in, and you got to download the address book, which is... Microsoft has between 10 and 15,000 employees at this point, and we're all on MS Mail. We're just getting off of the PDP-11 called Miss Piggy, which ran Whizmail and we're running MS Mail. But MS Mail has a fixed address book that every user must download every morning, and when there's 10,000 people downloading 10,000 people, it gets pretty messy. And I think we're on 10-megabit networking at the time, so your first hour is downloading the address book, which was always frustrating. But you'd use that time to look at the crashes that would have happened overnight from a process we called Stress, which is NNT... All the machines that are unused run tests all night long, and they try to crash themselves, and if they manage to crash themselves, it will drop into a debugger with a serial cable to another machine, and you can connect to that other machine and remotely debug the crashed machine. So you come in, and they will have triaged bugs, you know, there was a crash in the Start menu, so we'll assign that to Dave, and so you come in and that's your first thing, is to connect, 'cause you got to get that machine back to the guy that owns it and unlock the machine, so that's your first hour of your day, is basically triage for bugs that have come up from Stress overnight and then at that point it's probably back to coding, which unfortunately 80% of the time is fixing bugs, especially in my career, it was porting code and fixing bugs, I wasn't writing a lot of new code, and there were exceptions, I wrote a lot of new code on the side to get it out of my system. From a day-to-day grind of always fixing bugs in other people's code, which is amazing learning experience. - So you did a lot of the... At Microsoft, you did a lot of the porting of, what is it? Windows 95 code to NT? - Yeah. We took the entire Windows 95 user interface, and we ported it to NT, which meant making it Unicode, for one thing. So everything that was eight bits is now 16 bits, so... - ...pointers. It's quite a mess when you switch the code over, as you can imagine. - Can you give us insights into what is involved in porting? - It's like breaking into somebody's house and going through all their stuff and seeing the stuff in their drawers that they didn't want you to see. You find all the good stuff, the pretty pictures hanging on the wall, and you find some disturbing stuff in the nightstand. I saw code that was, like, 200 characters wide with profanity and swears in it, and it eventually got all cleaned up over the years by the time I left. But it was not always the most professional code in the world. - Right, because every single piece of code you have to go through. - Line by line, so you see it all. - Yeah. I mean, that's the, that's the story of programmers. You write a piece of code and you think it'll never, it'll never be seen by anybody. And sometimes, oftentimes, that code is going to be seen by a very large number of people. ...that come after you, including you five years later. You yourself looking at your own code. Okay, so tell me about Windows NT. That was a giant leap too. - It was. It was basically a clean-sheet design. So they went and they got Dave Cutler from Digital Equipment, who had done operating systems for them, VMS and RSX-11, he had done. And so he came over after, I believe it was Prism and MICA were some projects at DEC West that got canceled. And so you had a whole team of guys where their project is canceled, and basically, they took a whole bunch of them and came to Microsoft. And I don't know the specifics of the deal, but they all showed up. So you had Dave Cutler and Mark Lucovsky and all these really smart guys from DEC, and they did basically a clean sheet, but they also had OS/2 as a starting point. But OS/2 was, of course, written in assembly language, and NT is going to be written in C. So To what extent they were able to leverage any of that, I don't actually know, but at least they had a system to start with. - You said that Dave Cutler's the man, the mind behind Windows. Can you explain? - So Dave Cutler is the architect of the kernel. So he is Linus in the Linux world. It's Dave C. in the Windows world. - Yeah. Dave C., okay. - And it's not that there weren't other people that contributed huge pieces to it. But I think he's the driving force behind it and always largely has been. And he's still... I think he's 85 now. He still codes every day. He's a Microsoft Fellow. As far as I know, he still goes in to work. - Can you speak to the genius of that guy? What's interesting interesting about his mind, having, having worked with him, having interacted with Dave Cutler? - Well, the dude's wicked smart, but he's also like a farmer. He's the guy that will follow you around and make sure that stuff gets done and gets done right to make sure that you're not checking any crap into his operating system. And he won't tolerate it. He's a real taskmaster in that regard, but I think it really paid off because it was a very big paradigm shift for Microsoft developers to be subjected to the Dave Cutler, Digital Equipment style of leadership. - What did you learn from that about successful software teams, where there's a large number of people collaborating? Because Microsoft had a lot of brilliant engineers back then, and like you said, Dave Cutler. They had to, they had to create completely new systems, many of which we still use today. What have you learned about great software engineering teams from that time? - Tools are everything, I think, for one. And people are everything. We'll give that as a granted. But the tool set is a huge factor. If we had Git, it would have been immensely easier. We were using Diff and, you know, manual Deltas. To do this porting and stuff. So being able to fork a branch of source code would be a luxury that is new to me. And so- At the time, it would have been really handy. - What were some memorable conversations from that time when you walked over next door- - Well, what- - and talked to some of these folks? - I was not present for was, somebody was complaining, a new hire came into the team and was working on what I believe was called Cairo. And Cairo was going to be the next future operating system, was going to be beautiful, and have a whole new user interface newer than Windows 95, and it never materialized. But while they were working on it, one of the guys that was working on Cairo was kind of flaming on the open NT dev alias, which is thousands of people, how shitty the NT boot experience was. And the response that came back was, an epic flame that I wish I would have saved, and I won't name the guy who wrote it. He knows who he is, but- It was a work of art of angry flame mail, kind of like the ones you see Linus send every now and then about kernel stuff. So it's a very similar sentiment. - Were there, like, kind of intellectual debates, - Oh yeah. - like, there's some heated stuff with the engineers? - It was... Yeah, it got contentious. So you've got intellects competing, and eventually, the technical merits for some people are secondary, and it's about besting the other person in that argument, and it's no longer productive at that point half the time, but there was a fair bit of that. - Yeah, I've seen those kind of debates in like, programming language design communities, like Guido van Rossum, the leaders of those communities, it can wear them down because people get... You almost, like, forget the mission you're on and start being very nitpicky about the details. I mean, engineering minds get together, and you just go to war over the stupidest, like, syntax subtlety. - Well, I shouldn't say stupid, but it's a small syntax. subtlety for programming language. I'm sure there are internal battles about specific kernel components. - Yeah, there's one that I lost that still bugs me to this day. - Okay, yeah. - Because I still think I was right. When we were doing the shell, we were porting everything from ANSI to Unicode, so every character that was eight bits now becomes 16 bits. Now, the problem is I'm on a MIPS box because I'm porting it to RISC. And you can't have unaligned addresses. But if you take two ID lists, which are basically past components, you take the one for C: backslash, take the one for Windows, take the one for System32, and you add them together. But if you've got an odd number of characters, now you're at an odd address in this thing, and it takes me an immense amount of work to turn on exception handlers to do unaligned byte access, to pull the string out and copy it manually. And it's literally like a hundred to a thousand times the amount of work to read a string out of this ID list on a MIPS machine because it's unaligned. So I'm having the argument that even though it's late in Windows 95, they've already shipped one beta that we should now just guarantee that ID lists are always an even number of bytes, or do some hack to just make sure this never happens so the code that references them on all this hard work can just blaze through it. And it became a shouting match and sort of a personal match, and I lost that one. And I still think that, I know today, that that code running on Windows is thousands of times slower than it has to be. Nobody cares because it's plenty fast, but - it could be a lot faster. - Yeah. So you mentioned MIPS and RISC. How deeply did you have to understand the lowest level? Sort of the lowest level of the software and even the hardware with the stuff you were building. Like, what are the layers of the abstractions you had to understand to be successful with all the stuff you're doing with NT and before that? - Well, about half your day is going to be spent debugging, and most of the time is going to be spent in call stacks that are in pure assembly language because there's no source level debugging. So it's not like we're in Visual Studio and you hit a breakpoint and it pops up and there's the source code. You can go look at the source code, but you're looking at the raw assembly dump from the machine at all times. - So even if you're programming in C, the debugging is in assembly? - Yeah, 100%. - Oh man. - So it's a little cumbersome. And better yet, we're doing four instruction sets because we're doing Intel, MIPS, Alpha, and PowerPC. So depending on which machine it crashes on, you've got an entirely different instruction set. You get reasonably adept at debugging all four, but I had more experience in MIPS, so MIPS stuff would come my way. - That's a real endurance event. Can you speak to that? The torture there is debugging, especially that kind of debugging without the tooling associated with it? I mean, that's, you know, programming. Kids these days, programming isn't all about creating beautiful things, right? It's also about fixing things. - Yeah, I would say that 20% of my professional life has been creating, and 80% has been debugging and fixing. And I mean, I got a bit of a reputation as somebody who could fix stuff. So stuff like that would flow to me, and so I would spend more time doing that. I wasn't renowned as a creative UI genius where I'm flowering all these new ideas. So I got to fix ugly stuff, but you get really good at that. So I don't mind it until it's one of those things where you've been chasing it for so long that you don't know what to do next, and you can't understand why it doesn't work, or how it ever worked, or whatever situation you happen to be in, and after a day of it, it can get pretty trying. - Yeah, debugging can be real torture. It can be really, really difficult. There's a psychological component, I think, of perseverance. - I think the ones that take you a day, they resolve one of two ways. Either it's like, "Oh, extra semicolon," and then you finally see it. Or it's some horrible manifestation of cross-threaded apartment nonsense that was really hard. But it can go both ways. I had a bug. It wasn't my bug, actually, but it was a manifestation of a bug in Task Manager where every now and then it would say greater than 100% total CPU usage, and this looks pretty silly for a Task Manager. So I had tried to resolve it for a long time, and I'd talked to the kernel guys about my issue, and they were unsympathetic, let's say, because the kernel guys are a special breed, and they weren't interested in my user-land problems. It's probably some issue in my code, right? And they're probably right, but it wasn't in this case, and I was sure of it. So I kept adding asserts all through the code to make sure that the preparatory steps of adding the stuff together were never more than 100, and that the final sum was never more than 100. And finally, it never asserted. But occasionally we would get this bug where people would still see it. So I finally put my phone number in the assert, and I was like, "If you see this message, call DavePL at 425-836," my phone number. And finally, we did get a catch in the actual stress debugger that I was talking about earlier, where it happened to somebody with a debugger connected. We were able to go through, and it was actually a kernel accounting issue, and it wasn't a Task Manager issue. So they just fixed it in the kernel once I was able to prove that it was, in fact, a kernel issue. And you'd think we would then remove my phone number, but we just commented it out. So it's shipped, and it's in all the damn source code leaks for NT that are out there. So - But that's awesome. - that's how I find Task Manager code is I search for my phone number on Google, and it will reverse find- - Oh yeah, that's fantastic. - ... the NT source code. - Can you speak to the assert thing? By the way, I saw, I think you tweeted or you said somewhere that if you want to take your asserts really seriously, you add your home phone number in there- It's true. It's true. - A little facetious, because it's probably not the smartest thing, but... - No, it's not. - ...you will find out. - But I mean, assert by itself is already a serious thing, because it stops all execution. I mean, this is one of the reasons I really, really love asserts, because they stop everything and force you to take care of the problem. - Yeah, I'm a little religious about my asserts, too. I don't assert things that I hope aren't true. I assert things that I know cannot be true. And I think that's really the intent of an assertion. So I'm overstating the obvious, but when it does occur, it's a bug, plain and simple. It's not a warning. - It's kind of fascinating how often it can really help you figure out the problem, because if you put asserts everywhere, you can get very quickly to the source of the problem. - Yeah, I tend to... it's not something I want to suggest you go back and add later. It's something you should do organically as you build your code. - As you're building. - So for each function, if you've got assumptions, like I know that this pointer is never null, well, assert that. If you know this count is always less than twice the byte width, assert that. And don't be afraid, because if it asserts, it's doing you a favor. I think some people are afraid. You know, it's like when you turn out of an intersection and you think maybe there's somebody coming and you don't look left. Or maybe I'm one to do that. But it's like that. People don't assert because they're afraid they're going to fire. Well, no, you want to know. - You mentioned Task Manager. Obviously, we have to talk about this, the legendary program that you created, the Windows Task Manager. Tell me every detail of how you built it. What is Windows Task Manager? - So Windows Task Manager is a way to go in and find out which apps on your system are using the computer, using the hardware, using the CPU, using the memory, and which ones might be using too much or locked up, or going crazy. And it gives you the ability to terminate and kill those ones. So it's an inspection and a fixing tool. - Yeah, it lists all the processes. I mean, it's a legendary piece of software. It's crazy. We just take it for granted. It's like the Start menu, right? It's like genius. - Well, I had the great fortune of working on a lot of things that people are familiar with. And Task Manager was one of those side projects that I started as something that I wanted for myself and eventually came in-house. So I started writing it at home, and I got kind of the basics up and running. And I was using, I think it's HKey Current Performance or HKey Performance in the registry to get the stats, because I didn't have access to the internal APIs, because I was working from home and I don't call those if I'm working from home. And when I brought it in-house, then I was able to call things like NtQuerySystemInformation or NtQueryProcessInformation and get the real answers very quickly, which enabled it to become a very fast and responsive app. So people have come to rely on it because I wrote it to be as reliable as possible. I wasn't worried about the features. It was a basic set of functionality that I wanted in there. And I got everything I wanted, but I wanted it to be really robust. And so that... and small. The original was like 87k. - Okay, can you speak to what it takes to build a piece of software like that that doesn't freeze? - You don't assume much, right? If you're going to call the shell to run an app, well, that could be a network path that's on a TCP/IP share that takes 90 seconds to time out. So anytime you do any kind of API call like that, that could take time, you're going to wind up doing it on a separate thread. And so the app becomes a little more complex because everything is multithreaded. - Okay, so what programming language were you working in? - C++. - So this was for Windows NT? - Yes. - So this shipped initially in NT 4.0. - Okay, so what are some interesting details about this program? Because you have to get it as simple as possible, but also as robust as possible. What are some interesting optimizations, for example, you had to implement? - There are a couple of things. They're a little hardcore now. I'm surprised I did. I didn't want to link to the C runtimes at all. So I made sure never to call a runtime call and I didn't link to them, and that saved me whatever the C runtime is, 96k or something. So, it almost doubled the size of the app if you just touched any C call. So I was careful not to do that, but then I was actually writing in C++, which is C with objects more than anything. But, in order to get it to work, I had to go through and call all the object constructors manually from the dispatch table and stuff because you don't have the runtimes to do it for you. So you're working with a compiler that doesn't have its runtime, and I don't want to rat hole on the technical issues, but it's a lot of extra work to get it to work, but when you do, it's incredibly small and tight. - That's about the size... ...of the program. What are some interesting aspects of tracking down every process and how much CPU usage is in that process? - One of the cooler things that I saw is... I don't want to say I invented Hamming code, but I kind of invented Hamming code without knowing Hamming code existed. So every column and every row in Task Manager has a bit on whether it's become dirty or not. Then I can look, basically the same way Hamming code looks in your X and Y columns to find out which rows have changed, go through and find out which ones actually need to be repainted. So Task Manager is super efficient, and it works in concert with the ListView control, which provides that functionality to go through and repaint as little as an individual cell that changes from frame to frame. So it could paint very fast, it can resize very smoothly, and resizing was probably my biggest personal goal with that app. So you can size it to any size and it still works and even if you have 32 CPUs, which wasn't possible in the day, it will draw, I think, only eight graphs and then it wraps, but it still works today. So kind of proud of that. - It is incredible. Um, You've gotten the chance to observe the evolution of Task Manager. In some ways, it really hasn't changed much. Maybe there are some prettier aspects to it that fit into whatever version of Windows it's in, but it's really basically the same thing. - The functionality is very much the same. The reporting is more because they've added GPU and thermals and things like that, which is really nice to have. And we didn't have that ability in the day. - I mean, what can you say? Do you know, was there any refactoring done, or is it basically the same code? - As far as I know, the original code's still mostly all there. So there are layers of drawing code and dark mode code and whatever else, XML schema code that goes on top of that, that makes it four megabytes instead of 87k. But that's the world we live in. - Yeah, it's one of those pieces of software you create and once it's there, it's just really like the Start menu, and then I'm sure if you remove it, people would just lose their mind. - Yeah, it might be locked in for a while on that one. It might be good. - Yeah, I thought that would be true for Clippy, but, Clippy will make it back one day. All right, what are some other pieces of software you created at the time that are legendary? So you were part of Space Cadet Pinball, at least porting. - Yeah, so they came into my office and said, "Hey, what are you doing?" And I said, I told them what I was doing and they said, "Well, how do you want to spend your next three months?" And I said, "I have no idea." And they said, "Do you want to port Pinball?" And I had seen Space Cadet Pinball as a game standalone for the Win95 platform, and it had a couple different tables, and it was a cool game. So I was kind of excited, and what they wanted was some visual splash for NT to show that NT can do, for then, high-speed graphics and, or at least, responsive graphics. And so I took a shot. And unfortunately, a lot of the code was in Assembly, and I was on a MIPS, so I had to rewrite the code in C, so that I could then port it to all the different platforms. And at the heart of the game is a huge state engine. And it's like a giant switch statement with, if I remember, like 50 entries in it. like 50 entries in it. And it's got an Easter egg built in. And decoding the state, it's like running a neural network through this thing as you hit it with different states. And I just put it aside and treated it as a black box. And so my code runs on top of that and does the drawing and the sound and everything else. But the original game is still running. And somebody recently asked me, why is it slightly different? The physics are slightly different from the Windows 95 version, but it should be the same code because I'm trying very hard to preserve that. But what it is, is I had a bug where I will draw as many frames per second as I can, which on a modern computer can be 5,000 frames a second for Pinball because it's a pretty basic game. And so all your physics are interpolated 5,000 times per second instead of 30 times a second, or whatever you would've got on the old one. So you're getting arguably better, So you're getting arguably better, or at least different physics. - Why is that game so awesome? - I think it's a great design. I mean, I take no credit for that. That's all totally the guys at Cinematronics. But the original game is a great design. It's very similar to Black Knight 2000, which I own as an actual physical pinball machine. And the layout is actually very similar. I don't know if it was inspired by it or not. game. - Yeah. Sometimes I think about like Tetris, about certain games with pretty primitive graphics that captivate the the excitement of a large number of people. And maybe it's the excitement of a large number of people that contributes to the awesomeness of the game. So when many people together get excited and talk about it, that sort of gets implanted into your head. But that's one of the great games. I mean, even like Solitaire and Minesweeper. I mean, there's just a generation of people that have gone to war in Minesweeper, right? - Well, those things were included in the OS not as games but as educational tools to get you to use a mouse. - Oh, interesting. - So Solitaire is there to show you how to do drag and drop. - And Minesweeper's probably right click. I think you put a flag or some item. - I'm not a Minesweeper guy, but so each one of them teaches you something. - Minesweeper guy. That's funny. Yeah. Wow, I didn't know that. That's interesting. And that's true. But I don't know how many hours I've spent on these games and like millions of people have spent millions of hours on these games. - I used to volunteer teaching computer science at my kids' school, you know, for the third graders and stuff. So it's more like logging in than computer science. But the kids, of course, all their dads work at Microsoft, so nobody's impressed by anything you do. So one of the kids found out I worked on Pinball and then they were like, "Whoa, you worked on Pinball?" Because they all knew that in those days. Now the kids are probably aged out, they don't know it anymore, but for a brief period. - You're behind the Windows activation. - You say it like it's a bad thing. - Everything's a matter of perspective. So tell the story of that. What's Windows activation? How'd you get involved? - So they came to me late in the XP ship process. I don't know if the beta had gone out. I don't think the beta had gone out yet, but they had intended to take the Office activation code and then adapt it to Windows and add activation to Windows. But whoever was responsible for doing it had slipped it enough times that it wasn't going to happen. So I had a reputation for being able to fix things quickly, so they came to me and said, "Can you get this done in time for XP?" "I don't know, but I'll try." So with the help of the guys that were doing the DRM stuff on the DRM side and the research guys doing the math for the product keys and everything else, we cranked it out in time for XP. And I don't know what its actual impact is for revenue, but I imagine it's substantial when you start enforcing license keys. - I wonder what it is. - I don't know. - Because it's also annoying. - It is, especially if you have to phone activate. And that was just the case that we had to carry with us as an albatross around our neck, where you've got to pass data up to the clearinghouse, the backend systems that are going to approve your key. You've got to tell it all your hardware parameters, like how much memory and hard drive space and the various things the hardware key is bound to, as well as the product key, and you've got it encoded in letters and numbers that somebody's willing to read in over a phone. And if you think doing product activation is painful over the phone, could you imagine being the person that worked on the other end of that line? I mean, that's just got to be a mind-numbing job to listen to product keys for eight hours a day. - Yeah, one of the challenges with Windows, and it's been a frustration point for me, but I understand from a design perspective, it's very difficult, is so many different kinds of people use Windows. But it's been frustrating how over time Windows has more and more leaned into the direction of like the not-not the power user, I should say, which is why sort of Linux has always been really wonderful. But from an activation perspective or from any kind of configuration, it's been a, it's been a source of a lot of frustration. - Yeah, one of my more popular episodes of late has been why you can't move the Windows taskbar. - And I had no idea, but the outrage is palpable amongst people that you- - ...just put it on the left or top, and you can't anymore, and it is an affront to their existence. And I understand it to a certain extent. - Well, it's one of the main reasons I really just dislike Windows. There's a lot of aspects about Windows 11 I dislike, one of which is like you can't customize things as much about the position of the taskbar, just basic customization. Can we just configure stuff? Because there's going to be a small contingent of power users that are just going to enjoy the hell out of this operating system if you just give them that option. It costs you nothing. Just give them that freedom. - Well, it does cost, right? Because the freedom to put the Start menu on the left or the top or the right really increases the complexity of the code that renders the Start menu and lays out the tabs and does all the things, and now it's a much larger surface for bugs and it's a much larger piece of code to maintain, so you probably need more developers or another developer or some portion of a developer's time. So the question becomes at what point is it still worth it to satisfy the niche needs of a small set of users...And just, those decisions weren't mine to make. But I could see it from both sides. - I think just like the people who make movies and insert very nuanced details that only a small number of people will realize are there, that's going to really pay off. There's a kind of reputation that builds over time that has a very powerful ripple effect. That I think— it has so many benefits, including for hiring great software engineers. It's like you create this aura of a place that puts love into every detail, that really takes care of the power users, that takes care of the developers, and I think Microsoft has more and more moved in that direction with GitHub and acquiring GitHub and just taking care of the developers. But on the Windows interface side, come on, some customization. With VS Code, you can customize everything. Why can't we customize the Start menu, all right? Anyway, and the taskbar. And really every aspect of the Windows interface. I don't— I—maybe you're right. Maybe it increases the complexity of the code. I suspect that's just not the case. - I bet it was. I bet it was a scheduling decision when they rewrote the Start menu. I think they rewrote it because it's different than the old taskbar. And somebody was tasked with, "You've got to deliver this set of functionality, and if I cut out putting it on the left and the top and the right and two rows of tabs and all the other cool features, I can deliver it four months sooner." And I'm not saying that's the right decision, but I'm guessing that might be the kind of thing that motivates it. And they're on such a different release schedule now. It used to be... You won't see much craftsmanship unless somebody owns a component for a long time and it settles to a point that then you can work on and polish it, right? But if it's always churning and the UI is changing every release, it's never going to get that level of polish. Although I think the UI is pretty nice, but... - Yeah, it is nice, but I think it's— I just don't think it's a scheduling thing. I think it's a craftsmanship thing. Just like you with the Task Manager, if there's a guy or a girl in there who takes ownership of it, who has a passionate—like for them, it's a thing that they take pride in over a period of time, they can by themselves in a short amount of time create something truly wonderful. - And I think if you have large software engineering teams with managers and scheduling of meetings and all this kind of stuff, yeah, okay. Then your argument applies. But if you allow the flourishing of individuals that create cool stuff and like their own side project, which Google is very good at. - They've tried that at Google, yeah. - Yeah, like have fun with it. Do some crazy stuff and then we'll integrate it. We'll try to integrate it into the whole ecosystem. I don't know. I don't know, because to me, there's such a great joy for an individual developer to create something like customization of the Start menu or the taskbar because you know that millions of people are going to use it, the taskbar. And then you know that thousands, tens of thousands of developers might be using to customize even little subtle aspects of the taskbar. You know how much joy you create, you give to people to customize— to have some kind of JSON thing where you customize something about the taskbar? - Okay, but how do you respond to the Steve Jobs aspect of giving you customization implies that we couldn't figure out the right answer for you? Or maybe there is no right answer and all four answers are equally right. I have no idea, but... - Right. I think I've always-- I'm glad Apple exists. It's a beautiful thing and that idea of design is wonderful, but I always thought that Windows creates the contrast. The point of Windows is to be the operating system that works on all kinds of devices, that just as much, it's supposed to be much more open. And they've moved towards that direction more and more with Windows Subsystem for Linux. It's just this whole developer- friendly ecosystem. The interface should be in the spirit of that, I think. - But I do think that there could also be security vulnerabilities created with that. It's not just the complexity of the code, because Windows is just under attack. It's very difficult to keep it secure. Anyway, taking that tangent, you also developed a ZIP file support for Windows, creating Visual ZIP. Like I mentioned, ZIP folders that eventually evolved into ZIP folders. Tell the story of that. - So that was a piece of software that I wrote at home again, and what happened was I was out with my wife and I think it was a Sunday afternoon. We're driving around. This is 1993, and we're living in our apartment and we're just seeing what the housing market is like out there. And there's a guy, he's got this beautiful three-bedroom house and a Corvette convertible, '93 red, torch red, parked in the driveway and house is for sale, and it's like 300K, I think, and there's no chance I'm coming up with 300K at that point, or even the down payment on that. So I took the flyer and I cut the picture of the house out and I taped it to my monitor. And that was my incentive to just write something at night because when I came home, I was doing two things. I was, one, expressing a creativity that I couldn't get out at work when I was just fixing bugs, and I was trying to make some extra money. And so I wrote a Shell extension. Before I actually went to the Shell team I started it, and that's what led to my interest in going to the Shell team based on an MSDN sample or MSJ at the time, MSJ sample that I saw on how to like bring up a folder. Well, once I had the very basic bring up a folder template, adding ZIP file support to it was just incremental all the way. And I released it as a shareware product. I think it was 19.95 or 29.95 and I sold whatever, couple hundreds or thousands of copies, and one day I'm getting ready for work and I get a call and it's a lady and she says, "Are you Dave Plummer?" I said, "Yeah." She said, "Are you the guy that wrote Visual ZIP?" I said, "Yeah." And she said, "Well, this is Betsy from Microsoft and we'd like you to come by and come in and talk about an acquisition of it. And I said, "Okay, what building are you in?" And she's like, "What do you mean?" And I said, "Well, I'll come by." And she said, "Well, no, you got to talk to travel and you got to talk to legal, and this all has to be set up." And I'm like, "I don't get it. We both work at the same place. Why can't I just stop by?" I don't know if I said that literally- ...but it was a few minutes of back and forth where we both realized that she didn't know I worked there. - Yeah, that's funny. - They had just cold-called the author and then found out that it was me. - Yeah. That's funny. - And so they made me an offer on it, and it's the kind of thing where if I don't accept the offer, well, now my choices are I can keep selling my own version and quit Microsoft, or I can stop selling my own version and work for Microsoft. Neither of those is great. I mean, I'd like to keep my job of course, but I'd like to still- ...have this income stream. And the other option was to accept their offer, which is what I did. So then I bought a used '93 red Corvette and... - And you got to continue building it internally? - I did. So we took a lot of features out, right, to simplify, because it had encryption and it had a number of features that were common in ZIP programs of the day, but probably weren't appropriate for Windows. And, at the time, encryption was like a munition, so you couldn't just add encryption willy-nilly to various parts of the operating system, so we took out some things like that. Multi-volume support, I think, was taken out just to simplify it. - Can you speak to ZIP in general, just the history of ZIP and, you know, compression, that whole thing? - Yeah, it was really borne out of the BBS era when people were dialing in on modems to download trialware and shareware and other things from BBSs online and to compress them. Executables compressed about half their size. Other stuff compresses much more. But a guy named Phil Katz came up with a command line program for MS-DOS called PKZIP, which was able to do compression of programs, and he has a rather tragic arc. But it became ubiquitous in the entire PC industry, and pretty much everybody was using it. So when Windows came out, there was no way to open up a ZIP file, but everybody had been creating them for a decade, and so that really drove the desire to have the ZIP support right at Windows. - Yeah, and that's another piece of software that's just kind of with us to this day. - Mm-hmm. And it could be vastly improved, but, you know, it was written in the single core days, so it doesn't do anything multi-threaded. And you've got a 96-core 7995, well, it uses one of them to unzip your file. - What other awesome things were you a part of at Microsoft? What other pieces of software? - I worked on the initial prototypes of Windows Media Center. So we did ... that in '96, I believe. And we didn't have, at the time, any sources, so we had like a CD of MPEG video files of Raging Rudolph and I think the original South Park video, ... the Christmas one. Which is all wildly inappropriate in the workplace today, ...it's all the content we had until we got actually... We had them put a satellite dish on the roof, DSS, whatever the 18-inch dish is, because we couldn't get cable to the building. And so we built up this thing that would eventually look a lot like Media Center, and it was distance viewing UI for Windows, so you could sit with a remote control on a desktop and have, you know... The current Start menu is not great at 20 feet away, so. - Tell me the story of the infamous blue screen of death. - What it is is when Windows has no other option, when the kernel gets into a state where something illegal has happened, so let's say a device driver is trying to write to a piece of memory it doesn't own or is trying to free a piece of memory twice, of memory twice, something that just cannot happen, and the kernel has no other option. It will shut the machine down to save your work. And... Well, not save, but prevent further damage, and it puts up a blue screen and it prints out the stack information, depending on your settings. Sometimes it's just a sad face... ...In the current Windows. - Yeah, I wonder what the first version of Windows was when the blue screen came to be. - So, Windows 3 had a blue screen... ...but it's completely unrelated to the blue screen in Windows NT. And I talked to the guy who wrote the blue screen in Windows NT. His name's Jon Viert. And, the reason he picked white on blue, I had thought. I'd always heard it was because in the labs, you could walk through a lab where we have 50 PCs all running stressed. "Oh, that one's got a blue screen. It's-" ...crashed." It wasn't that simple. It was just the MIPS firmware that he was building it on was blue on white, and Visual SlickEdit that he was using as an editor was also the same color scheme. And so you could code, boot, crash, and reboot, all in the same color scheme. - Why do you think so many problems with computers can be solved by turning it off and turning it on back again? - I think there's two major things that happen with computers as you run them over time. One is memory gets used and not freed. And so it accumulates on the heap or in the swap file or wherever, and things get sluggish. And the other is, code gets into a state that the developers didn't anticipate or didn't test very well. And maybe that's a rare state, but now that Notepad or Word or Excel is in that state, your system is goofy. So if you just reboot the thing or shut it down or restart it, you're getting a fresh state and there's no memory leaks, so it covers a lot of sins, basically. - and the intricate ways that several pieces of software in a goofy state interact with each other creates sort of a meta goofy state that just kind of just the entire system starts acting a little weird. And then somehow fixes it. What's some of the best and the worst code you've seen during that time at Microsoft? What's some beautiful code and what's some ugly code that pops to memory? - 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 and 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. It was one of those things where it was like, "Oh, I don't think I could have done that if I was trying." - Who's the greatest programmer you've ever encountered? - You know what? I don't think there is any one. I've met a number of great programmers. But I'll tell you one story that impressed me a lot. When I was brand new at the company, I'd been there like six weeks, and I'm working on this OLE Presentation Cache that I'd mentioned earlier. And I'm on Windows 95, and I've got Excel inserted into Word, and I'm in the kernel debugger, and something's going wrong in the scheduler. And I've been there, you know, I've barely written any x86 code, and I'm looking at the Windows scheduler, trying to figure out why my thing is deadlocked. And eventually, I get stuck, so I'm kind of out of my element, and I send an email to the Windows 95 kernel team, and say, "Could you send somebody by?" And so about 10 minutes later, this developer strolls in, and they're just holding a null modem cable, which is to connect my two machines together so they can debug one with the other in case I didn't have it, but it was already set up. And so they sit down, and they're using WinDbg, which is a horrible debugger. It's just, it's accursed. But they're very, very competent with it, and they are just blasting through the call stacks, and they're checking all these objects in the kernel, and trying to find out who's waiting on what and why things are deadlocked, and what things are signaled and what's not. And it's just this quicksilver ballet of call stacks flying by, and I'm watching this, and I'm pretty blown away because I'm a good programmer, but this person is an amazing debugger, and I've never seen a performance like this. And about five minutes in, I just hear, "Oh, I see." And then they disconnected and got up and left. And that was Laura Butler, who became a distinguished engineer at Microsoft. I think she may still be. I'm not sure if she's retired or not, but... So she kind of set my template for, you know, what Microsoft developers were like when they're debugging, and what kernel developers were like, and even what female developers were like, because I had such a small sample set. But it was a very high standard, so... - There are few things I love in life more than people who are ultra-competent at anything, really. But the lower level, the better, in the engineering space. They're able to, for example, run or maintain the infrastructure, the computer infrastructure. So not the individual computer, but the computers communicating together and working together. Those people are just magicians. It's so inspiring. It's like watching a great carpenter or... - I love anything done really, really well. - Yeah, it's beautiful to see. It's beautiful to see that humans are able to accomplish that. Even in civil engineering space, when I look at, like, bridges, it's like, the number of people that had to come together to build that, and now millions of people use it every single day. With software, sometimes you don't get to see visually just the number of people impacted by a thing. So imagine how many people are impacted by Linux, and all the different open-source systems that make up Linux. It's incredible. And Task Manager is an example of a piece of software, just how many people have used that over the years, and how many times? It's crazy. It's probably, is it billions? Billions have used that. - Yeah, two billion a month or something. - Two billion? - Something like that. I've seen the metrics and it's up there. - Oh. Crazy to you? - It is. What I love about it, though, and I'm sure you've had this experience where sometimes you design a piece of software and it's complex and you get it working in your head, and you get the plumbing working, and you know how it's gonna run and flow, and then eventually you write the code, and the code does that thing that you had pictured in your head. And now there are billions of copies of that thing that I had in my head running on millions of people, or billions of peoples and machines, and that in itself is really cool to me. It's not a vanity thing so much as, I'm impressed by it, I guess. - How has your programming evolved over the years? - I take a lot more care with complexity these days. So, it used to be you would write code and just keep writing code, writing code, and then at some point, go back and clean it up. Well, I write the other way now. I try to write really clean initial skeletal code and then flesh it out because I have been involved in too many projects of my own and of other people's making, where things get so messed up that they're just not fixable. And so sometimes the work you put in upfront pays off, you know? - What programming languages have you used over the years? What's been your main go-tos? - For me, it's been C++ and assembly language. - And still to this day, C++ is really what you lean on? - Yeah, right now I'm 100% Lua and Python, but that's just a side project I'm working on, so... - Can you speak to the Lua and the Python detour that you took, and what do you love about C++? - What I'm doing is, I wanted to build an AI to play the game Tempest. That's the old Atari game, Tempest. And this is a game that I actually hold the world record on. And, uh- - Can you take me to this Atari game, Tempest? Okay, Atari Tempest. What kind of game is this? - So, it's a 3D vector game from 1980. - And it's a very complex game. You've got full 360 degrees of motion, you have eight shots on the screen. There's like 11 enemies, there's spikes. So, it's a very complex game. It's not like trying to, you know, do Pong or something. - And what I wound up doing was first taking the ROMs out of the machine and reverse engineering the code. So, I got a sense of where all the code in Tempest lives and what it does, where the zero page variables are, where things live. And yeah, there's one. - So what? Oh, wow. That's a very geometric. Okay, what? Can you explain to me the gameplay? - Yeah, that's me playing the game right there. - This is literally you playing? - This is me. Dave is the high score, you'll see in the top center there. - Can you explain to me what I'm looking at? - Well, it's a 3D geometric world. It's basically 3D Space Invaders wrapped into a shape, and the enemies descend from the center of the tube towards the outside, and they all have different behaviors and... - Wow. - So, long story short, it's a fairly complicated game to play well. And I wanted to see if I could get an AI to do it. So, once I had figured out where all the interesting parts of the game lived in memory, I added them as parameters and built a Lua app to extract everything from the game's memory as it's running, and puts them together as parameters, which sends it to the Python side over a socket, and then the Python side does RL learning. I'm using a dueling Deep-Q, and I believe— ...two with two head and tail, and they chase each other and it can play up to about level 36 now, which is way better than most humans. But that's level 96, so it's got a ways to go yet, but— - And you're the red thing shooting? - You're controlling the red thing that's shooting? Okay. What are the options? You can just move clockwise or counterclockwise and then you could shoot. - Yeah, so you have a rotating knob— ...which is an optical spinner, and you have a fire button and a super zapper for emergencies. But that's it. Fire and rotate, basically. - Alright, let's get back to your favorite C++. What do you love about C++? Why have you stayed with it for all these years? - Because it allows me to encapsulate my favorite C code in classes. I'm not a big— - You're really a C guy. - Well, I actually— - Okay, I gotcha. - Yeah, I'm really a C guy. Although, I write two kinds of C++. I write really modern C++ 20 using no pointers, no string, or no character strings, so there are, you know, it's basically as safe as Rust as far as I'm concerned. Or I write C with classes, which is standard C, but, you know, with polymorphism and encapsulation and... That's most of what my code is. But I try to do both. - Let me ask you about the whole stretch of time that we kind of skipped over. You built a lot of software over the years after Microsoft, on the side while at Microsoft and afterwards, a lot of successful pieces of software. One of your companies was Software Online. And it got into trouble for nagging users too much, I guess— ...to upgrade. That's what I saw. What was all that about and what did you learn from that experience? - That was... Other than, like, family health scares, you know, when kids are sick, that was the scariest time of my life. And the period leading up to it was one of the most invigorating and exciting, because what had happened was, while I was at Microsoft, I had written all these shareware utilities and I was selling them on the side and sold one to Microsoft, as we talked about, and they started to do really well. And then I discovered banner advertising online. And so I signed up with my credit card for a site. I think it was called Fast Click, and you could say, "I will pay this much for a banner ad impression. Here's my banner." And it would rotate it in. And I didn't set a cap on it. I came back on Monday and I saw I had spent like $10,000 in banner ads. I was like, "Holy crap. How am I going to explain this to my wife? This is a bug, it's a mistake, it was my fault." And I looked at the sales and it had made like $38,000 worth of sales. And I was like, "Holy cow. So all I have to do is scale that at some point," and basically did that for the next several years. And the reason we got in trouble was the AG came in and they had, well, I was blown away because they had like 12 court claims of action and 10 of them were outrageous, which to me as a person with autism, I couldn't get past. It's like, I know these 10 things are absolutely not true. Why are we even here talking about them? And then all they care are the two things that might be true. And the two things that might be true were that it was a 30-day trial version and after your 30 days were up, it would then, if you continued to run it and not buy it or uninstall it, it would remind you once a day. Not like every 10 minutes, but once a…

Transcript truncated. Watch the full video for the complete content.

Get daily recaps from
Lex Fridman

AI-powered summaries delivered to your inbox. Save hours every week while staying fully informed.