The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Jun 16, 2026
Post comments count 1
Post likes count 0

Retrofitting the WM_COPY­DATA message onto Windows 3.1

Raymond Chen

It was carefully designed to be trivial.

Jun 15, 2026
Post comments count 21
Post likes count 13

The time the x86 emulator team found code so bad that they fixed it during emulation

Raymond Chen

Offensive content in the eyes of a software engineer.

Jun 12, 2026
Post comments count 8
Post likes count 3

How can I schedule work on a thread pool with low latency?

Raymond Chen

The thread pool is designed for throughput, not latency.

Jun 11, 2026
Post comments count 5
Post likes count 4

Understanding the rationale behind a rule when trying to circumvent it

Raymond Chen

I mean, technically <I>I</I> didn't do it.

Jun 10, 2026
Post comments count 6
Post likes count 2

What’s the opposite of Clip­Cursor that lets me exclude the cursor from a region?

Raymond Chen

There is no such feature, but you can just exclude it virtually.

Jun 9, 2026
Post comments count 2
Post likes count 2

The Microsoft Company Party where everybody played name tag swap

Raymond Chen

Even the boss got into the festivities.

Jun 8, 2026
Post comments count 2
Post likes count 2

Rotation revisited: Shuffling more than three blocks, and other small notes

Raymond Chen

Generalizing the shuffle to arbitrary numbers of blocks.

Jun 5, 2026
Post comments count 9
Post likes count 8

The back cover of C++: The Programming Language also raises questions not answered by the front cover

Raymond Chen

Not doing the reading.

Jun 5, 2026
Post comments count 2
Post likes count 2

Rotation revisited: Avoiding having to calculate the gcd when doing cycle decomposition

Raymond Chen

Math is hard. Let's go counting!