The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Aug 21, 2026
Post comments count 0
Post likes count 1

Reducing C++ template bloat by factoring out the type-dependent portions of the function, practical exam

Raymond Chen

Applying our principles.

Aug 20, 2026
Post comments count 0
Post likes count 1

Reducing C++ template bloat by factoring out the type-dependent portions of the function

Raymond Chen

Looking for consolidation points.

Aug 19, 2026
Post comments count 6
Post likes count 2

On wrapping a callable in a lambda that just calls it with the same parameters

Raymond Chen

Just use the callable directly.

Aug 18, 2026
Post comments count 2
Post likes count 1

Why did the Microsoft Entertainment Pack for Windows have a special sticker announcing that it also had Tetris?

Raymond Chen

A contingency plan.

Aug 17, 2026
Post comments count 0
Post likes count 3

How do functions like alloca allocate memory from the stack?

Raymond Chen

The usual probing.

Aug 14, 2026
Post comments count 8
Post likes count 5

Forcing an ARM64X executable to run as a specific architecture

Raymond Chen

You can request the target machine architecture.

Aug 13, 2026
Post comments count 1
Post likes count 4

A little helper class for managing LPPROC_THREAD_ATTRIBUTE_LISTs

Raymond Chen

Another RAII-style wrapper.

Aug 12, 2026
Post comments count 4
Post likes count 3

The comments that go into code versus those that go into the pull request description

Raymond Chen

Understanding the temporal relevance.

Aug 11, 2026
Post comments count 6
Post likes count 4

The little-known winstart.bat batch file

Raymond Chen

It had been there long before Windows 95, but nobody remembered.