Jan 6, 2026 Post comments count1 Post likes count2 Swapping two blocks of memory that reside inside a larger block, in constant memory, refinement Raymond Chen Could do with a little less rotating.
Jan 5, 2026 Post comments count1 Post likes count3 How can you swap two non-adjacent blocks of memory using only forward iterators? Raymond Chen Applying the rotation trick to our new problem.
Jan 2, 2026 Post comments count0 Post likes count2 How can you swap two adjacent blocks of memory using only forward iterators? Raymond Chen A different algorithm, employing a different kind of cleverness.
Jan 1, 2026 Post comments count10 Post likes count2 Swapping two blocks of memory that reside inside a larger block, in constant memory Raymond Chen A variation on the constant-memory rotation.
Dec 31, 2025 Post comments count1 Post likes count2 Understanding and mitigating a stack overflow in our task sequencer Raymond Chen The recurring problem of synchronous resumption.
Dec 29, 2025 Post comments count3 Post likes count2 How can I detect that the system is running low on memory? Or that my job is running low on memory? Raymond Chen You can register for a memory notification.
Dec 25, 2025 Post comments count0 Post likes count3 Why is the last letter of my string not making it to the clipboard? Raymond Chen The struggle for null termination.
Dec 24, 2025 Post comments count1 Post likes count5 Why does my Ctrl+M accelerator key activate when I press the Enter key? Raymond Chen Understanding the difference between keys and characters for accelerators.
Dec 22, 2025 Post comments count27 Post likes count9 All the other cool languages have try…finally. C++ says “We have try…finally at home.” Raymond Chen The destructor serves as the "finally".
Dec 19, 2025 Post comments count9 Post likes count3 A shortcut gives me a weird path for a program shortcut that doesn’t point to the executable, so what is it? Raymond Chen It's a placeholder because the shortcut is to an MSI application.