The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Jun 29, 2018
Post comments count 0
Post likes count 1

2018 mid-year link clearance

Raymond Chen

Reaching the halfway point.

Jun 28, 2018
Post comments count 0
Post likes count 1

How can I detect from the preprocessor what a macro’s definition is?

Raymond Chen

Evil preprocessor tricks.

Jun 27, 2018
Post comments count 0
Post likes count 1

Lock free many-producer/single-consumer patterns: A work queue of distinct events, order not important, follow-up question

Raymond Chen

We try to minimize spurious wake-ups, but eliminating them is probably not worth the effort.

Jun 26, 2018
Post comments count 0
Post likes count 1

Taking advantage of the asymmetry of offline compression

Raymond Chen

You can spend a lot of time compressing, but decompression still needs to be fast.

Jun 25, 2018
Post comments count 0
Post likes count 1

The cost/benefit analysis of comparing before an assignment

Raymond Chen

Factors pull in both directions. The result is a balance.

Jun 22, 2018
Post comments count 0
Post likes count 0

How I learned to type

Raymond Chen

On an old manual typewriter.

Jun 21, 2018
Post comments count 0
Post likes count 1

What can influence how much stack is consumed when sending a message?

Raymond Chen

Who wants to know? No really, that's the answer.

Jun 20, 2018
Post comments count 0
Post likes count 1

When I intentionally create a stack overflow with SendMessage, why do I sometimes not get a stack overflow?

Raymond Chen

It depends on what overflows first.

Jun 19, 2018
Post comments count 0
Post likes count 0

Microspeak: knobs

Raymond Chen

Configuration settings, basically.