Oct 14, 2026 Post comments count1 Post likes count3 C++ futures part 3: The mental model for std::async Raymond Chen Doing things later in different ways.
Oct 13, 2026 Post comments count3 Post likes count3 C++ futures part 2: The mental model for std::promise, std::packaged_task Raymond Chen Building things out of the state.
Oct 12, 2026 Post comments count6 Post likes count3 C++ futures part 1: The mental model Raymond Chen Managing a value that is produced later.
Oct 9, 2026 Post comments count0 Post likes count2 One way of thinking about access specifiers in C++/WinRT implementation types Raymond Chen Mapping them to concepts from C# and the now-defunct C++/CX.
Oct 6, 2026 Post comments count2 Post likes count4 Why does the compiler sometimes use ud2 and sometimes int 3 for code that shouldn’t execute? Raymond Chen It shouldn't execute, but for different reasons.
Oct 5, 2026 Post comments count5 Post likes count5 If somebody tries to hot-patch an already-hot-patched function, how do they avoid conflicts? Raymond Chen Hot-patching is for Windows, not for you.
Sep 28, 2026 Post comments count5 Post likes count3 C++ reminder: Function-local static variables are initialized only once, even if it looks like they get initialized multiple times Raymond Chen Only on first execution.
Sep 25, 2026 Post comments count19 Post likes count5 Debugging walkthrough: Access violation on nonsense instruction, episode 3 Raymond Chen Trying to figure out what the interloper was trying to.
Sep 24, 2026 Post comments count4 Post likes count5 No, really, you need to pass all unhandled messages to DefWindowProc, part 2 Raymond Chen Another example to add to the list.
Sep 23, 2026 Post comments count8 Post likes count3 When working with Win32 FILETIME, don’t forget that you have std::chrono now Raymond Chen Let the library do the math for you.