# Windows 11 为何藏着 Windows 95 内存管理器

Original title: Why Windows 11 still ships with Windows 95's memory manager hidden inside it

> Hacker News story 50159726 · language: zh · submitted 2026-10-20
> Web version: https://zeli.app/zh/story/50159726
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 186 · by [khalidkhair](<https://news.ycombinator.com/user?id=khalidkhair>) · 💬 142
[original](<https://www.windowslatest.com/2026/10/19/why-windows-11-still-ships-with-windows-95s-memory-manager-hidden-inside-it/>) · [HN discussion](<https://news.ycombinator.com/item?id=50159726>)

## Summary

你可能不敢相信，Windows 11 的深处竟运行着一段来自 Windows 95 的内存管理代码。这一切始于 SimCity 的一个内存释放 Bug，微软为了兼容这款游戏，特意修改了操作系统内核。后来，这种为了兼容老旧软件而保留的“特殊照顾”演变成了 EmulateHeap 机制。微软工程师 Raymond Chen 曾透露，他们直接复制了 Windows 95 的 Heap Manager 源码，重新编译后嵌入到兼容性框架中。虽然这段代码平时不运行，但在特定场景下，它能让那些依赖旧版内存行为的程序继续工作。这种“为了一个游戏修改系统”的历史，如今演变成了 Windows 11 中一个令人玩味的兼容性彩蛋。

## Key quote

> 微软工程师 Raymond Chen 曾这样描述这一做法：他们直接复制了 Windows 95 Heap Manager 的源码，重新编译后将其添加到兼容性基础设施中，这简单得令人发指，却又疯狂得不可思议。

## HN discussion (142 comments)

### [jeffbee](<https://news.ycombinator.com/item?id=50186260>)

> 这就是为什么内存分配器应该直接链接到应用程序中，而不应被视为操作系统组件。

### [ForOldHack](<https://news.ycombinator.com/item?id=50186203>)

> 如果 Windows 组件里用了这个，我一点也不意外。不过要是能运行 16 位应用就好了。

### [thighbaugh](<https://news.ycombinator.com/item?id=50160131>)

> 对 Redmond 的精英们，你还能指望什么呢？

---

## Cite

- Page: https://zeli.app/zh/story/50159726
- Date: 2026-10-20
- Source: windowslatest.com (https://www.windowslatest.com/2026/10/19/why-windows-11-still-ships-with-windows-95s-memory-manager-hidden-inside-it/)
- Hacker News: https://news.ycombinator.com/item?id=50159726

## Other languages

- en: https://zeli.app/story/50159726 · markdown: https://zeli.app/story/50159726.md
- ja: https://zeli.app/ja/story/50159726 · markdown: https://zeli.app/ja/story/50159726.md
- ko: https://zeli.app/ko/story/50159726 · markdown: https://zeli.app/ko/story/50159726.md
- de: https://zeli.app/de/story/50159726 · markdown: https://zeli.app/de/story/50159726.md
- es: https://zeli.app/es/story/50159726 · markdown: https://zeli.app/es/story/50159726.md
- ru: https://zeli.app/ru/story/50159726 · markdown: https://zeli.app/ru/story/50159726.md
