This period
2026-08-05 → 2026-09-04 · rolling 30 daysArticles
45 this periodThe case of the progress callback that never got called when progress happened
This article discusses a debugging issue related to a progress handler in a C# async method that fails to get called. It provides insights into troubleshooting the problem from both C# and C++ perspectives.
C++26: std::hive
This article discusses the proposed std::hive feature for C++26, detailing its purpose and potential impact on the language. It provides insights into the design and implementation considerations for this new feature.
The perils of binding to value types in XAML
This article discusses issues encountered when binding to value types in XAML, particularly with the FlipView control. It explains how using structs instead of runtime classes can simplify the data model and avoid boilerplate code.
Microspeak: Funded / unfunded
This article explains the specific jargon used at Microsoft regarding project funding, which refers to the availability of personnel rather than financial resources. It discusses terms like 'funded', 'unfunded', and 'partially funded' in the context of software development.
AWE does not require PAE, though PAE makes it much more useful
This article discusses the Address Windowing Extensions (AWE) feature in Windows and its relationship with Physical Address Extension (PAE). It explains how AWE can be useful even without PAE, but highlights the limitations of using AWE on a 32-bit system with only 4GB of RAM.
C++26: Standard Library Hardening Experiments
This article explores the concept of 'hardening' in the C++ Standard Library as introduced in C++26, discussing its implications for safety and error handling in library implementations.
I helped to build GetCracked's Intermediate C++ Roadmap
This article discusses the development of an Intermediate C++ Roadmap for GetCracked, aimed at guiding developers in their learning journey. It highlights key concepts and resources essential for mastering intermediate-level C++ programming.
On forcing all derived classes to implement a specific non-virtual method, part 2
This article discusses how to enforce derived classes to implement a specific non-virtual method in C++. It explores the use of deleted methods to guide developers towards correct implementation.
On forcing all derived classes to implement a specific non-virtual method, part 1
This article discusses how to ensure that derived classes implement specific methods in C++ by using a base class. It provides examples using IValueConverter and OneWayConverter to illustrate the concept.
Catching NaN at the MLIR Pass Boundary
A Multi-Level Intermediate Representation (MLIR) pass can create a not-a-number (NaN) attribute during constant folding. This can happen even when every operand starts as a valid value. The compiler should reject that value at the…
C++26: std::inplace_vector
This article discusses the new std::inplace_vector feature in C++26, detailing its design and potential use cases. It provides insights into how this feature can improve performance and memory management in C++ applications.
In the product end game, every change carries significant risk, episode 2
This article discusses a sporadic bug encountered during the Word 97 release cycle and the challenges of debugging it. It highlights the use of in-circuit emulators to investigate issues that resist traditional debugging methods.
Tonight, ShadPS4 joins the hunt: uncovering bugs in the most popular PS4 emulator
This article discusses the ShadPS4 emulator and its efforts to uncover bugs, inspired by Lovecraftian horror themes. It highlights the challenges and techniques involved in debugging emulators.
Why didn’t the Windows Entertainment Pack just run the MS-DOS version inside an emulator?
This article discusses the challenges of running the MS-DOS version of Chip's Challenge within an emulator on Windows, highlighting the limitations of hardware and memory requirements. It compares the situation to the impracticality of using the Space Shuttle for a rescue mission.
Comparing the two holograms on the Windows 95 box
This article discusses the changes made to the Windows 95 anti-piracy hologram due to a government complaint about its depiction of a baby. It highlights the differences between the original and revised holograms.
Scaling Memory Safety: AI-Assisted Rewrites of C/C++ Dependencies to Rust
Scaling Memory Safety: AI-Assisted Rewrites of C/C++ Dependencies to Rust
“Bare Metal” STM32 Programming (2018)
The STM32 line of ARM Cortex-M microcontrollers are a fun way to get started with embedded programming. The nice thing about these chips is that they don’t require much setup, so you can start to learn about them bit by bit, starting with…
Integrating Discord SDK into EVE Frontier
Integrating Discord SDK into EVE Frontier
Optimizing memory usage in a markdown parser
Ctrl + K to search... Home • Software • Contact Me Optimizing memory use in a Markdown parser edit I’m porting gpui-component (a Rust UI component library built on GPUI) to C++ as gpui-cpp . By which I mean: my friend Claude does the…
Reducing C++ template bloat by factoring out the type-dependent portions of the function, practical exam
This article discusses techniques for reducing C++ template bloat by factoring out type-dependent portions of functions. It highlights the inefficiencies of using lambdas in templated functions and presents a method to simplify the function by using a shared type.
Reducing C++ template bloat by factoring out the type-dependent portions of the function
This article discusses the cost of C++ template expansions and how to mitigate template bloat by using helper objects to encapsulate common functionality. It provides insights into optimizing template functions that accept lambdas.
Bloated C++ code
This article discusses the pitfalls of writing bloated C++ code and the importance of writing concise and efficient code. It highlights the humorous notion that programmers should not be paid by the line of code.
C++26: std::polymorphic
This article discusses the new std::polymorphic feature in C++26, detailing its implications and usage. It provides insights into how this feature enhances polymorphism in C++.
On wrapping a callable in a lambda that just calls it with the same parameters
This article discusses the unnecessary complexity of wrapping a lambda inside another lambda when the inner lambda can be called directly. It explains that a lambda is just syntactic sugar for a class with a function call operator, and highlights the importance of understanding this to avoid unnecessary indirection.
Why did the Microsoft Entertainment Pack for Windows have a special sticker announcing that it also had Tetris?
This article discusses the unique marketing decision behind the first Microsoft Entertainment Pack for Windows, which included a sticker announcing the addition of Tetris due to licensing negotiations. It highlights the rarity of copies with the sticker.
How do functions like alloca allocate memory from the stack?
This article explains how the _alloca function works in conjunction with the _chkstk function to allocate memory from the stack while ensuring that large allocations do not skip over the guard page. It includes a code example demonstrating the process.
How do functions like alloca allocate memory from the stack?
This article explains how the _alloca function works in conjunction with the _chkstk function to manage stack memory allocation. It provides an example of stack allocation in x86-64 architecture.
A faster way to calculate the day-of-the-week
Converting a day-count ("rata-die") to the day-of-the-week (“weekday”) sounds like it should be so trivial, that there's almost nothing to say about it. But, as it turns out, when we look under the hood, this is a surprisingly complex…
Forcing an ARM64X executable to run as a specific architecture
This article discusses how to force an ARM64X executable to run as a specific architecture on Windows. It explains the use of the PROC_THREAD_ATTRIBUTE_MACHINE_TYPE attribute to relaunch a program with the desired architecture when loading a DLL fails.
Static and dynamic analysis help when unit tests fail
This article discusses the importance of static and dynamic code analysis in conjunction with unit tests, highlighting how these techniques can provide valuable insights when tests fail.
A little helper class for managing LPPROC_THREAD_ATTRIBUTE_LISTs
This article discusses the challenges of managing LPPROC_THREAD_ATTRIBUTE_LISTs in C++ and presents a helper class to simplify the process. It provides code examples and insights into memory management for process attributes.
Clearer Build Optimization Results with GitHub Copilot
This article discusses improvements in GitHub Copilot's build performance for Windows, focusing on clearer result messages that help C++ developers understand optimization outcomes. The new experience aims to provide deterministic results and better insights into build optimizations.
MSVC Build Tools Preview updates – August 2026
This article discusses the latest updates to the MSVC Build Tools Preview, targeting the v14.52 release, including improvements in C++ conformance and modules. It provides insights into new features and fixes from the MSVC development team.
µ-Boosting Your CMake Productivity with Environment Variables
Find what you need - explore our website and developer resources If you are working with C++ code chances are that you are using CMake to build your code, and for good reason. CMake is a powerful tool that allows you to target a wide…
C++26: std::indirect
This article discusses the proposed std::indirect feature in C++26, exploring its implications and usage. It provides insights into how this feature can enhance the language's capabilities.
The comments that go into code versus those that go into the pull request description
This article discusses the importance of distinguishing between comments in code and those in pull request descriptions. It emphasizes how clear titles and descriptions can aid in understanding changes and tracking down regressions.
Obfusk8, c++ Obsfucation Library for Windows Binaries
Sign in Appearance settings Platform AI CODE CREATION GitHub Copilot Write better code with AI GitHub Copilot app Direct agents from issue to merge MCP Registry Integrate external tools DEVELOPER WORKFLOWS Actions Automate any workflow…
The little-known winstart.bat batch file
This article explains the purpose of the winstart.bat file in Windows 95 and its role during system startup compared to autoexec.bat. It details how the virtual machine manager utilizes winstart.bat before launching the user-mode kernel.
What’s New in vcpkg (Jul 2026)
This blog post summarizes changes to the vcpkg package manager as part of the July 2026 registry release, including major improvements and updates to ports. It highlights the addition of new ports and enhancements in supply-chain metadata quality.
How can I perform a CopyFile in unbuffered mode?
This article discusses how to use the CopyFileEx and CopyFile2 functions in Windows to copy files in unbuffered mode by utilizing specific flags. It explains the limitations of changing the buffering flag after a handle is opened and provides code examples for both functions.
Understanding std::counting_semaphore and std::binary_semaphore from C++20
This article explains the two semaphore types introduced in C++20: std::counting_semaphore and std::binary_semaphore. It covers their usage in multi-threading scenarios and provides examples.
Creating a fake agile wrapper that is technically agile but is not useful outside its home apartment, part 5
This article discusses the use of std::unique_ptr to manage a registration cookie in a Windows context. It explains how to smuggle an integer value inside a pointer and the implications of this technique.
Thoroughly Understanding C++ ABI
| 简体中文 Articles Archives Thoroughly Understanding C++ ABI 2024-04-16 · Updated 2025-12-24 · 11 min · 5285 words · ykiko | Translations: 简体中文 Table of Contents CPU & OS Object File Format Data Representation Function Calling Convention C++…
Creating a fake agile wrapper that is technically agile but is not useful outside its home apartment, part 4
This article discusses the implementation of a fake agile wrapper in C++ that utilizes the global interface table. It explores the concept of moving non-marshalable COM objects rather than copying them.
Crubit, C++/Rust Bidirectional Interop Tool
Press ← or → to navigate between chapters Auto Light Rust Coal Navy Ayu Crubit Documentation document.getElementById('mdbook-sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible')…