Nov 7, 2025 Post comments count2 Post likes count1 Non-recursively deleting a binary tree in constant space: Restructuring the tree Raymond Chen Changing the tree structure to make it easier to delete.
Nov 6, 2025 Post comments count3 Post likes count1 Non-recursively deleting a binary tree in constant space: Synthesizing the parent pointer Raymond Chen Making one as you go.
Nov 5, 2025 Post comments count9 Post likes count2 Non-recursively deleting a binary tree in constant space: Traversal with parent pointers Raymond Chen First assume that you have a parent pointer.
Oct 30, 2025 Post comments count8 Post likes count3 Trying to build a XAML tree in code throws a “No installed components were detected” exception Raymond Chen An unfortunate error code collision, but the explanatory text leads the way.
Oct 29, 2025 Post comments count2 Post likes count2 What to do when you have a crash in the runtime control flow guard check Raymond Chen You don't have to understand it, but you should be able to extract data from it.
Oct 24, 2025 Post comments count0 Post likes count2 The early history of the Windows Runtime PropertyValue and why there is a PropertyType.Inspectable that is never used Raymond Chen It used to be there because PropertyValue started out as the fundamental variant type before shifting focus to being the fundamental boxed type.
Oct 23, 2025 Post comments count0 Post likes count3 Windows Runtime design principle: Properties can be set in any order Raymond Chen If all you're doing is setting properties, you can do it any way you like.
Oct 22, 2025 Post comments count7 Post likes count3 What makes cheap_steady_clock faster than std::chrono::high_resolution_clock? Raymond Chen It's quite a bit faster, though maybe you don't care.
Oct 17, 2025 Post comments count2 Post likes count2 Using RAII to remedy a defect where not all code paths performed required exit actions, follow-up Raymond Chen If the callback requires copyability.
Oct 15, 2025 Post comments count9 Post likes count4 Why can you increment a reference count with relaxed semantics, but you have to decrement with release semantics? Raymond Chen It's more important to clean up when you leave.