Raymond Chen

Raymond has been involved in the evolution of Windows for more than 30 years. In 2003, he began a Web site known as The Old New Thing which has grown in popularity far beyond his wildest imagination, a development which still gives him the heebie-jeebies. The Web site spawned a book, coincidentally also titled The Old New Thing (Addison Wesley 2007). He occasionally appears on the Windows Dev Docs Twitter account to tell stories which convey no useful information.

Post by this author

On writing loops in continuation-passing style, part 4

Equivalents in C# and JavaScript.

On writing loops in PPL and continuation-passing style, part 3

Explicit shared state.
Comments are closed.0 1
Code

On writing loops in PPL and continuation-passing style, part 2

Recursion comes back.
Comments are closed.0 1
Code

On writing loops in PPL and continuation-passing style, part 1

Keeping track of what to do next.
Comments are closed.0 1
Code

Inside STL: The different types of shared pointer control blocks

Well, some of them, at least.

Phantom and indulgent shared pointers

The phantom controls something yet holds nothing. The indulgent holds something but controls nothing.

What it means when you convert between different shared_ptrs

Changing the pointer while controlling the same object.

Inside STL: The shared_ptr constructor and enable_shared_from_this

Working together through a secret signal.

Inside STL: The shared_ptr constructor vs make_shared

Where to hide the control block.

Inside STL: Smart pointers

Simple pointers or more complicated pointers.