The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Jan 6, 2026
Post comments count
1
Post likes count
2
Swapping two blocks of memory that reside inside a larger block, in constant memory, refinement
Could do with a little less rotating.
Jan 5, 2026
Post comments count
0
Post likes count
2
How can you swap two non-adjacent blocks of memory using only forward iterators?
Applying the rotation trick to our new problem.
Jan 2, 2026
Post comments count
0
Post likes count
2
How can you swap two adjacent blocks of memory using only forward iterators?
A different algorithm, employing a different kind of cleverness.
Jan 1, 2026
Post comments count
9
Post likes count
2
Swapping two blocks of memory that reside inside a larger block, in constant memory
A variation on the constant-memory rotation.
Dec 31, 2025
Post comments count
5
Post likes count
2
2025 year-end link clearance
Another year gets relegated to history.
Dec 31, 2025
Post comments count
1
Post likes count
2
Understanding and mitigating a stack overflow in our task sequencer
The recurring problem of synchronous resumption.
Dec 30, 2025
Post comments count
6
Post likes count
3
Additional notes on color-keyed overlays as a way of doing smooth video rendering
Choosing the color-key and other brief discussions.
Dec 29, 2025
Post comments count
3
Post likes count
2
The Gävle Goat (Gävlebocken) succumbs in 2025 to a new menace
You could blow me over.
Dec 29, 2025
Post comments count
2
Post likes count
2
How can I detect that the system is running low on memory? Or that my job is running low on memory?
You can register for a memory notification.