Lock-free reference-counting a TLS slot using atomics, part 1 June 12, 2024 Jun 12, 2024 06/12/24 Raymond Chen First, we do it with locks.
The origin story of the Windows 3D Pipes screen saver June 11, 2024 Jun 11, 2024 06/11/24 Raymond Chen Looking for a place to show off.
How do I get the name of a SID, and what does it mean when the conversion fails? June 10, 2024 Jun 10, 2024 06/10/24 Raymond Chen Most places will do it for you, or at least try.
What’s the deal with std::type_identity? June 7, 2024 Jun 7, 2024 06/7/24 Raymond Chen When you want to use a type without participating in type deduction.
Can INI files be Unicode? Yes, they can, but it has to be your idea June 6, 2024 Jun 6, 2024 06/6/24 Raymond Chen It'll only be Unicode if it's already Unicode.
How 16-bit Windows cached INI files for performance June 5, 2024 Jun 5, 2024 06/5/24 Raymond Chen Taking advantage of co-operative multitasking.
Why does GlobalLock max out at 255 locks? June 4, 2024 Jun 4, 2024 06/4/24 Raymond Chen Because that's how many bits were available for reporting the lock count.
More on harmful overuse of std::move June 3, 2024 Jun 3, 2024 06/3/24 Raymond Chen Could we expand copy elision to cover the harmful cases?
A graphical depiction of the steps in building a C++ executable, with XAML and packaging May 31, 2024 May 31, 2024 05/31/24 Raymond Chen Fleshing out the diagram.
A graphical depiction of the steps in building a C++ executable, enhanced for classic Win32 May 30, 2024 May 30, 2024 05/30/24 Raymond Chen Adding in Microsoft-specific tools.