- Introduction
- Chapter 1: The Death of PRISM and the Exodus from DEC
- Chapter 2: The Pitch: Gates, Ballmer, and Cutler's Ultimatum
- Chapter 3: Setting Up Shop in Building 2
- Chapter 4: Assembling the Loyalists: The Core Engineering Team
- Chapter 5: The Clean Sheet: Designing a Portable, Preemptive Kernel
- Chapter 6: The Microkernel Debate and the NT Architecture
- Chapter 7: The Hardware Target: Developing on the Intel i860
- Chapter 8: HAL: The Hardware Abstraction Layer Innovation
- Chapter 9: The Object Manager, Security, and Enterprise DNA
- Chapter 10: The OS/2 Rupture: Shifting Alliances with IBM
- Chapter 11: The Great Pivot: Embracing the Win32 API
- Chapter 12: Memory Management: Lou Perazzoli’s Tour de Force
- Chapter 13: Building NTFS: Gary Kimura and the Next-Gen File System
- Chapter 14: "Eating Your Own Dog Food": The Crucible of Self-Hosting
- Chapter 15: Cutler’s Wrath: Bug Bashes and the Zero-Bug Policy
- Chapter 16: Portability Vindicated: Bringing NT to MIPS and Alpha
- Chapter 17: Networking the Beast: TCP/IP and Windows Sockets
- Chapter 18: The March of the Death March: Crunch Time in Redmond
- Chapter 19: Taming the Graphics Engine: The Subsystem Wars
- Chapter 20: The 1992 PDC: Showing the World the New Engine
- Chapter 21: The Final Sprint: RC1, Stress Testing, and Burnout
- Chapter 22: July 1993: Shipping Windows NT 3.1
- Chapter 23: The Settlement with DEC: The Alpha's Ghost in the Machine
- Chapter 24: The Enterprise Conquered: From NT 4.0 to Windows 2000
- Chapter 25: The Indestructible Core: Cutler’s Architecture in the Modern Era
Building Windows NT: Dave Cutler and the Kernel That Changed Microsoft
Table of Contents
Introduction
Every time an air traffic control system monitors an incoming flight, an automated teller machine dispenses cash, an Azure datacenter spins up millions of cloud instances, or an office worker powers on a laptop running Windows 11, the ghost of a furious mid-century engineering culture hums to life. Beneath the familiar graphical veneer of modern personal computing lies an operating system kernel that was not born in the garage startup mythos of Silicon Valley, nor out of Microsoft’s original software lineage of MS-DOS and Windows 3.0. Instead, it was conceived inside the brutal, uncompromising world of minicomputer engineering—designed on a clean sheet of paper by a band of battle-hardened hardware and software purists who arrived in Redmond, Washington, harboring a bitter grievance against their former employer.
In the autumn of 1988, Microsoft was a wildly successful but fundamentally fragile software company. It ruled the desktop through MS-DOS, a simplistic real-mode operating environment that lacked memory protection, preemptive multitasking, or crash resilience. To serious corporate customers, Microsoft’s software was little more than a fragile toy, prone to the dreaded blue screens and unrecoverable lockups that earned desktop PCs their reputation for unreliability. Bill Gates understood that if Microsoft were to survive the coming decade, it had to break out of the 16-bit sandbox and build an industrial-strength operating system capable of running corporate datacenters, handling true symmetric multiprocessing, and outlasting the fickle hardware churn of the era. The problem was that Microsoft did not have the institutional knowledge to build such an engine.
Across the country in Maynard, Massachusetts, Digital Equipment Corporation (DEC) was squandering precisely that expertise. DEC was an engineering powerhouse whose VMS operating system had set the standard for minicomputer stability and sophisticated architecture. At the center of DEC’s elite software division was Dave Cutler: a volcanic, fiercely loyal, and terrifyingly brilliant systems architect who held an almost religious conviction about how software should be written. When DEC’s corporate bureaucracy abruptly canceled PRISM—Cutler’s crowning project, which fused a cutting-edge 64-bit RISC processor with a next-generation operating system known as Mica—Cutler was incandescent with rage. Gates seized the moment. In a coup that permanently altered the trajectory of the computing industry, Microsoft hired Cutler and his core cadre of DEC engineers, setting them loose in Building 2 on the Redmond campus with a mandate that bordered on an ultimatum: build a bulletproof, portable, enterprise-grade operating system from nothing.
The project that followed, codenamed "NT" for New Technology, was one of the most grueling, high-stakes software developments in history. Cutler operated not like a corporate manager, but like an Old Testament prophet. He imposed a relentless engineering rigor on a chaotic Microsoft culture that had grown accustomed to rapid, sloppy prototyping. Over five years of relentless pressure, the team invented or redefined technologies that now serve as the bedrock of modern computing: the Hardware Abstraction Layer (HAL), which decoupled the kernel from physical architecture; a sophisticated microkernel-influenced design; an entirely new, fully transaction-logged file system called NTFS; and a preemptive multitasking executive capable of scaling seamlessly from single-processor workstations to massive multi-socket servers. When political alliances with IBM collapsed and Microsoft pivoted overnight from OS/2 to a 32-bit Windows API, Cutler’s team bent without breaking, proving the profound agility of the underlying architecture they had constructed.
This book is the definitive, unvarnished story of how that kernel was hammered into existence. Drawing on technical documents, internal design memos, and the lived memories of the engineers who survived the project, Building Windows NT examines the personalities, the technical triumphs, and the human cost of the endeavor. It explores the clashes of ego, the sleepless nights spent tracking elusive memory corruption bugs, and the famous "eating your own dog food" mandate where Cutler forced his team to run their daily work on unstable pre-alpha builds of the operating system they were still assembling. It does not treat code as an abstract mathematical exercise, but as an artifact of human willpower, compromise, pride, and corporate warfare.
More than thirty years after Windows NT 3.1 rolled off the manufacturing lines in July 1993, the industry has seen hardware architectures, paradigms, and platforms rise and fall. Mainframes gave way to client-server networks, which gave way to the web, mobile computing, and the hyper-scale cloud. Yet throughout those seismic shifts, the core engine Dave Cutler and his refugees designed in Building 2 has never been supplanted. It absorbed the consumer lines of Windows 95 and 98, defeated UNIX in the server market, and formed the backbone of the enterprise universe. To understand modern computing—its durability, its fault lines, and its structural mechanics—one must understand the crucible in which the NT kernel was forged. This is the story of the outsiders who came to Redmond, tore up the blueprint, and built an empire out of pure logic.
CHAPTER ONE: The Death of PRISM and the Exodus from DEC
By the summer of 1988, Digital Equipment Corporation was suffocating under the weight of its own golden goose. That goose was the VAX architecture, a 32-bit Complex Instruction Set Computer (CISC) design introduced a decade earlier that had propelled the company into the undisputed second-place spot among the world's computer manufacturers, trailing only IBM. DEC’s corporate headquarters in Maynard, Massachusetts—a sprawling former nineteenth-century wool mill made of rough brick and timber known colloquially as "The Mill"—was awash in profits. Inside its cavernous hallways, executives took for granted that the VAX, coupled with its flagship operating system VMS, would continue to print money into the indefinite future. But inside the engineering labs, a civil war was underway.
David Neil Cutler was not a man who suffered corporate complacence lightly, or indeed at all. A Michigan native who had worked his way through Western Michigan University on a football scholarship while studying mathematics, Cutler was an athletic, aggressively competitive force of nature. He was profane, tirelessly demanding, and possessed an innate, terrifyingly lucid ability to see through structural software problems all the way down to the silicon gates. Cutler had been the driving software force behind the PDP-11’s RSX-11M operating system and, more importantly, had co-designed VMS itself. In the engineering ranks at DEC, he enjoyed a reputation that bordered on mythical. He was famous for punching holes through drywall when code failed to compile, for berating executives who dared to lecture him on scheduling, and for inspiring an unshakeable, cult-like devotion among the hand-picked engineers he allowed to work with him.
Cutler had realized years earlier that the VAX architecture, for all its commercial glory, was headed straight for an engineering wall. The processor design was enormously intricate, packed with hundreds of complicated instructions implemented via sprawling microcode routines. While this complexity had made life easy for assembly programmers in the late 1970s, it was rapidly becoming an albatross in the face of a rising technical movement: Reduced Instruction Set Computing (RISC). Spearheaded by academics like David Patterson at UC Berkeley and John Hennessy at Stanford, as well as upstart commercial outfits like MIPS Computer Systems and Sun Microsystems, RISC argued that processors should execute a tiny, stripped-down set of simple instructions, each completing in a single clock cycle. By simplifying the silicon, RISC processors could run at blistering clock speeds that left CISC chips like the VAX choking in their dust.
Cutler had seen the threat coming as early as the start of the decade. Rather than sit in Maynard and engage in corporate hand-wringing, he had extracted an extraordinary concession from DEC founder and CEO Ken Olsen: in 1981, Cutler moved across the country to Bellevue, Washington, just east of Seattle. There, far removed from the meddling bureaucracy of The Mill, he set up the Western Software Laboratory (WSL). Cutler’s team was tasked with exploring the next generation of computing. What began as a skunkworks research project soon evolved into an ambitious, high-stakes endeavor that DEC codenamed PRISM: Parallel Reduced Instruction Set Machine.
PRISM was not merely a chip; it was a wholesale reinvention of DEC’s technological base. While hardware engineers under Cutler’s umbrella crafted a clean-sheet, 64-bit RISC processor with advanced pipelining and built-in vector support, Cutler turned his attention to the software side of the equation. To harness the hardware, Cutler and a small circle of brilliant software architects—including Lou Perazzoli, Gary Kimura, Dave Orbits, and Robert Wiest—began designing a revolutionary new operating system codenamed Mica.
Mica was conceived as a multi-personality operating system. Cutler understood that the corporate world had millions of lines of legacy code tied to DEC’s existing platforms. At the same time, the research world, academia, and a growing segment of enterprise customers were flocking to UNIX. Mica resolved this tension through an elegant, forward-looking architectural split. At the bottom of the system sat a clean, preemptive microkernel that managed low-level hardware, memory allocation, and thread scheduling. Sitting directly on top of this foundation were distinct operating system "personalities" implemented as user-mode environments: one that faithfully emulated VMS to provide seamless backward compatibility, and another that implemented the standard POSIX interface for UNIX applications. To users and developers, the machine could look like a traditional VAX or a modern UNIX workstation at will, all while resting on an uncompromisingly fast RISC engine.
For nearly three years, WSL buzzed with the frantic, purposeful energy that always accompanied Cutler’s projects. Engineers worked eighty-hour weeks, fueled by fierce professional pride and the conviction that they were building the system that would carry DEC through the next two decades. The Western Software Lab operated with the tight cohesion of an elite special-operations unit. Cutler drove them hard, but he drove himself harder. He could sit at a terminal and bang out thousands of lines of pristine, bug-free C and assembly while other architects were still arguing about high-level abstractions in committee meetings.
Back in Massachusetts, however, the knives were being sharpened. DEC had grown into a sprawling corporate matrix governed by powerful, entrenched fiefdoms. The most powerful of these was the VAX engineering group. In their view, every dollar spent on PRISM was a dollar diverted from squeezing more life out of the existing CISC line. They argued that the VAX still had plenty of headroom, pointing to the development of massive, water-cooled multichip implementations like the "Argonaut" and "Aquarius" projects. To admit that RISC was the future meant conceding that DEC’s golden goose was obsolete, a prospect that terrified mid-level managers whose careers and organizational empires were tied directly to VAX silicon.
Compounding the problem was another internal camp that advocated for DEC to hedge its bets by licensing chips from outside vendors. A faction in Maynard wanted to buy off-the-shelf RISC processors from MIPS and wrap them in DEC badging, arguing that it was cheaper and carried less financial risk than fabricating an in-house architecture from scratch. DEC was suddenly funding three wildly divergent, mutually hostile paths: trying to stretch the old CISC VAX into the stratosphere, designing PRISM from the ground up in Bellevue, and exploring third-party RISC designs back east.
By early 1988, DEC’s executive committee was paralyzed by the infighting. Ken Olsen, a legendary figure in American industrial history, was an engineer at heart, but he had built a management system based on consensus, competition, and a decentralized matrix where internal divisions often acted like warring nation-states. Olsen was famously skeptical of software; he viewed it largely as a giveaway item that helped sell expensive iron. He failed to appreciate that Mica was not merely a piece of firmware for PRISM, but a conceptual leap in operating system design that decoupled software from underlying processor architectures.
The battle came to a head in the spring of 1988 during a series of tense, acrimonious executive reviews in Massachusetts. Cutler flew east repeatedly, walking into boardrooms to face down cadres of vice presidents who threw financial spreadsheets and risk assessments at him. Cutler was notoriously blunt in these meetings, openly expressing his contempt for corporate bureaucrats whom he viewed as pencil-pushers incapable of writing a line of code or understanding the tectonic shift underway in processor mechanics. He warned Olsen directly: if DEC did not build PRISM, the company’s workstation business would be eviscerated by Sun Microsystems, and its minicomputer dominance would dissolve before the end of the 1990s.
His warnings fell on deaf ears. The VAX lobby, allied with the contingent backing the off-the-shelf MIPS strategy, convinced Olsen that PRISM was an expensive luxury DEC could no longer afford to sustain. In July 1988, the axe fell. The executive committee decreed that PRISM was dead. DEC would kill its internal 64-bit RISC processor and instead purchase MIPS R2000 and R3000 chips to build a line of low-cost UNIX workstations called the DECstation. As for Mica, the revolutionary operating system was cast into corporate limbo; there was no room for an ambitious multi-personality platform on an outsourced hardware strategy that merely ran Ultrix, DEC’s uninspired port of BSD UNIX.
When the notification reached the Western Software Laboratory, Cutler’s reaction was atomic. He did not simply disagree with the decision; he regarded it as a profound betrayal of engineering integrity, an act of corporate suicide committed by cowards who lacked the stomach for genuine innovation. The PRISM hardware, which had already seen silicon wafers run through DEC’s fabrication plant in Hudson, Massachusetts, was scrapped. Three years of blood, sweat, and sleepless nights were wiped out with a single administrative stroke.
Cutler gathered his team in the Bellevue cafeteria to deliver the news. The room was deathly quiet. These were not corporate drones clocking in from nine to five; they were world-class systems architects, compiler writers, and memory experts who had put their families, hobbies, and personal lives on hold to build something historic. Cutler stood before them, his face flushed, speaking with a controlled, venomous fury. He made it clear that while DEC had the legal authority to kill the project, they had demonstrated that they no longer had any idea how to lead the computer industry.
DEC management, perhaps realizing too late that they had deeply alienated their most brilliant and temperamental technical asset, attempted to placate Cutler. They offered him alternative assignments, asking him to look into advanced research topics or to take over secondary software maintenance groups. For Cutler, this was an insult beyond measure. He refused to sit in an office, collect a corporate paycheck, and tinker with dead-end prototypes while DEC slowly bled its market share to nimbler competitors.
Instead, Cutler began actively plotting his departure. The corporate environment in Maynard had become toxic to him, and he knew that staying meant watching his team disperse to the four winds, assigned to patch legacy code or shepherd mediocre UNIX ports. He maintained an fierce, paternal loyalty toward his inner circle: men like Lou Perazzoli, an absolute master of virtual memory architecture who had written the core paging algorithms for VMS; Gary Kimura, a brilliant file systems designer; and Dave Orbits, an architect who understood processor pipelining and low-level performance tuning as well as anyone on earth. Cutler was determined that if he left, he would not leave alone. He would take the core of his engineering platoon with him, finding a home where they could build the system they had been denied the chance to complete at DEC.
The news that Dave Cutler was alienated and possibly on the market did not take long to leak out of Bellevue. The computing world was small, and word of the PRISM cancellation rippled through the Pacific Northwest engineering network like an electric shock. Just across Lake Washington, tucked into the pine-covered suburban campus of Redmond, sat an aggressive, fast-growing software company that had spent the last seven years conquering the world of personal computers, yet remained completely shut out of the enterprise elite.
Microsoft was watching. Bill Gates and his top lieutenant, Steve Ballmer, were keenly aware of Cutler’s legendary status. They knew that Cutler was arguably the greatest living systems programmer in the world. They also knew that Microsoft was trapped in an existential corner: they were making hundreds of millions of dollars shipping MS-DOS, but DOS was fundamentally an architectural dead end. It ran on the fragile, segmented real-mode architecture of the Intel 8086, it lacked memory protection, and it fell over when pushed beyond the limits of a single-tasking office PC. To fulfill Gates’s grand vision of putting "a computer on every desk and in every home," Microsoft needed an operating system that could step into corporate computing, manage mission-critical databases, and compete head-to-head with mainframes and UNIX workstations.
Gates and Ballmer knew they did not have the internal expertise to write such a system. Their ranks were filled with brilliant young hackers who could squeeze high performance out of DOS real mode or write compact BASIC interpreters, but almost nobody in Redmond had ever designed an industrial-strength, enterprise-grade, multiprocessing kernel from scratch.
Cutler was suddenly a free agent, sitting ten miles away in Bellevue, boiling with rage, with a notebook full of architectural concepts and an elite team looking for a mission. The stage was set for an unlikely, era-defining collision between the buttoned-down, high-reliability culture of the minicomputer world and the chaotic, hyper-growth frontier of the personal computer. DEC’s catastrophic failure of vision had just opened the door for Microsoft to pull off the greatest talent raid in the history of the software industry.
This is a sample preview. The complete book contains 27 sections.