This period

2026-10-28 → 2026-11-27 · rolling 30 days

Articles

49 this period

What happens when you put a non-agile object in the CoreApplication Properties?

This article discusses the behavior of non-agile and agile objects in the CoreApplication Properties, explaining how they interact with apartment shutdowns and the use of RoGetAgileReference.

The Old New Thing | The Old New Thing | 2026-11-26 | 5 min

Let's check Scilab

This article analyzes the source code of the open-source project Scilab to uncover potential errors. It discusses the powerful tools available for complex mathematical computations.

PVS Studio Team | PVS Studio C++ Blog | 2026-11-25 | 5 min

Managers we are, but interrogators we must be

This article discusses the role of managers as interrogators in the workplace, emphasizing the importance of effective questioning and communication. It explores how this approach can lead to better team dynamics and project outcomes.

Sandor Dargo | Sandor Dargo's Blog | 2026-11-25 | 5 min

Marginalia Search, Money, C++, Rust, AI, stuff

Title possibly signs checks the article doesn’t have backing for. This is just a brief pro forma project update. Not much new functionality or anything to announce, last few months have mostly been bug fixes and technical debt cleanup.…

brn | Lobsters | 2026-11-25

Why did it seem that the entries in the CoreApplication Properties expired when the source application shut down?

This article discusses the behavior of entries in the CoreApplication.Properties and clarifies misconceptions about their expiration related to the lifetime of the apartment that added them. It explains the role of agile wrappers in COM object management.

The Old New Thing | The Old New Thing | 2026-11-25 | 5 min

What happens to entries in the CoreApplication Properties when the source apartment shuts down?

This article discusses the behavior of the COM static store in Universal Windows Platform apps, particularly regarding the CoreApplication Properties and their persistence after the source apartment shuts down. It includes a demonstration with code to illustrate the concept.

The Old New Thing | The Old New Thing | 2026-11-24 | 5 min

Having two security products installed at the same time isn’t a great idea, but sometimes you have to do it

This article discusses the complications that arise when multiple anti-malware products are installed on the same system, including potential conflicts and deadlocks. It uses a metaphor of security services in a building to illustrate the issues.

The Old New Thing | The Old New Thing | 2026-11-23 | 5 min

C++26 is done (again)! — Trip report: November 2026 ISO C++ standards meeting (Búzios, Brazil)

This article provides an overview of the ISO C++ committee's recent meeting in Búzios, Brazil, where they addressed comments on C++26 and prepared for a second approval ballot. Key features discussed include updates on contracts and new proposals for C++29.

Herb Sutter | Sutter's Mill | 2026-11-21 | 5 min

Another failed attempt to get the icon for the icon for the .. parent folder

This article discusses the issues encountered when trying to retrieve the icon for the parent folder using SHGetFileInfo, highlighting the complexities of the shell namespace parsing.

Unknown | The Old New Thing | 2026-11-20 | 5 min

No More Helloworlds: Build a Real C++ App by Nikolai Kutiavin

This article discusses the process of building a real-world C++ application, moving beyond simple examples. It provides insights and practical advice for developers looking to enhance their C++ skills.

Nikolai Kutiavin | Sandor Dargo's Blog | 2026-11-20 | 10 min

Why do I get inconsistent results when I ask for the icon for the .. parent folder?

This article discusses the inconsistencies encountered when retrieving folder icons using the SHGetFileInfo function, particularly when the current directory differs between the developer's environment and the customer's system.

The Old New Thing | The Old New Thing | 2026-11-19 | 5 min

If the Windows documentation doesn’t list a particular technology as supporting an operation, does that mean that it doesn’t support it?

This article discusses the implications of missing technologies in Windows documentation regarding file system operations. It clarifies that the absence of a technology from the list does not necessarily mean it is unsupported.

The Old New Thing | The Old New Thing | 2026-11-18 | 5 min

The Many Ways to End a C++ Program

This article explores various methods to terminate a C++ program, discussing their implications and use cases. It provides insights into best practices for program termination.

Sandor Dargo | Sandor Dargo's Blog | 2026-11-18 | 5 min

Classic C and errors of GmSSL project

This article discusses common mistakes in C programming, such as typos and memory errors, using the GmSSL project as a case study.

PVS Studio Team | PVS Studio C++ Blog | 2026-11-17 | 5 min

C++ Optimizations in MSVC Build Tools 14.52

The Microsoft C++ team implemented new optimizations in MSVC Build Tools 14.52, focusing on reassociation, loop optimizations, SIMD code generation, and inlining. The article provides examples of these optimizations and improvements made in the compiler.

Microsoft C++ Team | C++ Team Blog | 2026-11-17 | 5 min

How can I ask a second program to show a dialog box as if it were shown by my first program?

This article discusses how to manage dialog boxes between a GUI program and a background program, ensuring that dialog boxes appear correctly in relation to the GUI program's main window. It emphasizes the importance of using the correct window handle for modal dialog boxes.

The Old New Thing | The Old New Thing | 2026-11-17 | 5 min

In the Microsoft employee price list, why did the BASIC compiler cost less than the BASIC interpreter?

This article discusses the pricing differences between the MS-DOS BASIC Compiler and the MS-DOS BASIC Interpreter as listed in a Microsoft employee price list from 1987. It speculates on the reasons behind the lower cost of the compiler, including the size of the manual and production costs.

The Old New Thing | The Old New Thing | 2026-11-17 | 5 min

MSVC Build Tools version 14.52 now generally available

Microsoft C++ (MSVC) Build Tools version 14.52 is now available as a long-term support release, featuring C++23 support and various code-generation improvements. This release aims to help teams standardize on a C++ toolset.

Microsoft C++ Team | C++ Team Blog | 2026-11-16 | 5 min

clice v1.0 Released: Welcome to Modern C++

| 简体中文 Articles Archives clice v1.0 Released: Welcome to Modern C++ 2026-11-15 · 9 min · 4248 words · ykiko | Translations: 简体中文 Table of Contents What is clice? Language Server Command Line The story behind it Why not improve clangd? How…

jeaye | Lobsters | 2026-11-15

Working Around a Proposed Break in HLSL Initialization with Variadic Templates

This article discusses a potential break in HLSL vector initialization syntax and presents a workaround using variadic templates and other new features. It also touches on the author's involvement with the TC-57 committee for HLSL standardization.

K Stocky | Clever Programming Pun | 2026-11-14 | 5 min

How can I make it easier to use the helper class that lets me pass more than one parameter to co_await?

This article discusses how to simplify the use of a helper class for passing multiple parameters to co_await in C++. It introduces a method to create a more manageable interface for users.

Not specified | The Old New Thing | 2026-11-13 | 5 min

MSVC Build Tools Preview updates – November 2026

This article discusses the latest updates to the MSVC Build Tools Preview, including new features and fixes targeting the v14.53 release. It highlights improvements in the compiler frontend, backend, linker, and standard library.

C++ Team | C++ Team Blog | 2026-11-13 | 5 min

Pointer Provenance in Rust vs C++

Home Projects Essays Life Favourite Book Streamline Icon: https://streamlinehq.com Bookshelf Search Dark Mode Table of contents What is Provenance: Pointers Are Not Just Glorified Ints Inspecting Provenance: LLVM IR C++: What Happens If We…

gignico | Lobsters | 2026-11-13

Terrible tips for a C++ developer: 2026 edition, Part 1

This article introduces an updated edition of the 'terrible tips for a C++ developer' book, which will be posted in parts on the blog. It includes a total of 60 tips for developers.

PVS Studio Team | PVS Studio C++ Blog | 2026-11-13 | 5 min

C++ Dynamic Debugging is now generally available

C++ Dynamic Debugging is now available in Visual Studio 2026, allowing developers to debug optimized builds without sacrificing performance. This feature enables inspection of local variables and stepping through code while maintaining runtime efficiency.

C++ Team | C++ Team Blog | 2026-11-12 | 5 min

How can I pass more than one parameter to co_await?

This article discusses how to pass additional parameters to the co_await operator in C++. It explains that since co_await only accepts one parameter, you need to wrap the awaitable object and its parameters into a larger object.

The Old New Thing | The Old New Thing | 2026-11-12 | 5 min

Every Craft That Moved Before: What Photography, Compilers, and Looms Teach Us About AI

This article explores the parallels between various crafts, including photography, compilers, and looms, and their implications for understanding AI. It delves into how these crafts have evolved and what lessons they offer for the future of artificial intelligence.

Sandor Dargo | Sandor Dargo's Blog | 2026-11-11 | 5 min

For the first time, a C++ standard failed to pass the national bodies

Mastodon X Substack RSS Feed For the first time, a C++ standard failed to pass the national bodies Local 'minimal viable product that everyone agrees on' tanks the C++ standard. It looks like it happened! A historic first, for better or…

mond | Lobsters | 2026-11-11

I didn’t write a program with emoji, but I did use a control character

The article discusses a nostalgic experience of writing a reboot program using control characters in MS-DOS, drawing parallels to modern attempts at using emoji in programming. It highlights the quirks of using interrupts for rebooting the system.

Unknown | The Old New Thing | 2026-11-11 | 5 min

Understanding C++26 hazard pointers

This article discusses the new <hazard_pointer> header and class in C++26, which provides safe memory reclamation for lock-free data structures. It explores the challenges of memory management in concurrent code and the advantages of lock-free algorithms.

Marius Bancila | Marius Bancila's Blog | 2026-11-11 | 10 min

A faster Easter date function

This post is a fun little side quest to kickstart my journey optimising regional calendars. Computing the date of Easter faster is not going to matter in any real application. Even in places where it might seem to matter, like high…

eatonphil | Lobsters | 2026-11-10

Automatic MSBuild configuration for the Microsoft C++ Language Server in Copilot CLI

This article discusses the automatic configuration of MSBuild-based projects for the Microsoft C++ Language Server in GitHub Copilot CLI, enhancing code intelligence by generating a compilation database at startup. It simplifies the setup process for users familiar with Visual Studio.

C++ Team | C++ Team Blog | 2026-11-10 | 5 min

Microsoft employee price list from 1987

This article presents the Microsoft employee price list from 1987, showcasing the software catalog from nearly 40 years ago. It invites readers to consider how these prices would translate into today's dollars.

The Old New Thing | The Old New Thing | 2026-11-10 | 5 min

A C++ Quicksort Faster Than std::sort

blqsort is a very fast quicksort algorithm. I am not aware of any other general-purpose comparison-based sorting algorithm that is faster on random data. Only specialized SIMD-based algorithms are generally faster when dealing with small…

chkas | Lobsters | 2026-11-09

If the Windows Update hot patcher checks that the function hasn’t already been patched, does that mean you can’t install two hot-patches?

This article discusses how Windows Update manages hot-patching for binaries that have already been patched. It explains the process and limitations of applying multiple hot-patches in succession.

The Old New Thing | The Old New Thing | 2026-11-09 | 5 min

Herb Sutter: When a language’s creator and its owners strongly disagree: C++26 post-DIS, historical experience, and paths forward

Herb Sutter: When a language’s creator and its owners strongly disagree: C++26 post-DIS, historical experience, and paths forward

mort | Lobsters | 2026-11-08

Why are we all worked up about atomicity when applying hot-patches if we can just suspend all the threads?

This article discusses the importance of atomicity in the Windows hot-patching system and the potential issues that arise when suspending threads during patching. It highlights the risks of executing half-installed patches and the challenges posed by new threads being created during the process.

The Old New Thing | The Old New Thing | 2026-11-06 | 5 min

You shouldn’t change the style of a Win32 static control after it has been created

This article discusses the behavior of Win32 static controls and the implications of changing their styles after creation. It explains the potential memory leaks and bugs that can arise from such changes and advises against it.

The Old New Thing | The Old New Thing | 2026-11-05 | 5 min

C++26 Disapproved

On October 23, 2026, the unthinkable happened. It was supposed to be a mere formality: C++26 was up for a vote by the ISO National Bodies (NBs). The options are always approval, rejection, or abstention. Comments are also allowed. Since…

BenjaminRi | Lobsters | 2026-11-04

C++26: std::constant_wrapper

This article discusses the new std::constant_wrapper feature in C++26, explaining its purpose and usage. It provides insights into how this feature can enhance code clarity and efficiency.

Sandor Dargo | Sandor Dargo's Blog | 2026-11-04 | 5 min

From Token Sequences to operator for

This article explores the concept of operator overloading in C++ and how token sequences can be utilized to implement custom operators. It provides insights into the syntax and semantics of operator functions.

Barry | Barry's C++ Blog | 2026-11-04 | 5 min

There are things with ranks, but it’s not always clear what the ranks mean

This article discusses the concept of 'rank' in Windows features, particularly in SQL Server and the Windows Package Graph. It highlights the ambiguity in documentation regarding what rank signifies in terms of relevance and match quality.

The Old New Thing | The Old New Thing | 2026-11-04 | 5 min

How do you implement a random-access database when you don’t have random-access external storage?

This article discusses a clever method used in an Apple ][ telephone directory program to manage a database using only cassette storage. It explains how the program utilized self-modifying code to store and retrieve user data.

The Old New Thing | The Old New Thing | 2026-11-03 | 5 min

Sneaking into the auditorium for the Windows 2000 launch rehearsal

This article recounts the author's experience at the Windows 2000 launch event in San Francisco, detailing the preparations and the atmosphere leading up to the event. It includes anecdotes about the rehearsal and the excitement surrounding the celebrity host.

Unknown | The Old New Thing | 2026-11-02 | 5 min

Spooky C++

You want to see something… spooky? Do you want to hear a story, so haunting, so bone-chilling, it keeps you up at night? Well, let’s look at this program that grants permissions: #include <iostream> #include <string> #include…

raymii | Lobsters | 2026-11-01

The Problem with C++ Safety: Modern C++ Is a Mindset, Not a Standard

In the first part of this article, we have taken a look at two attempts to decide whether a given string is a palindrome. Both implementations were written in “Classic C++” and didn’t feel great: the code was difficult to read, hard to…

nrposner | Lobsters | 2026-11-01

Pitfalls of bit fields in C++

This article discusses the complexities and potential issues that arise when using bit fields in C++. It highlights how developers can inadvertently create problems due to the language's flexibility.

PVS Studio Team | PVS Studio C++ Blog | 2026-10-30 | 5 min

The support case of a customer who said that all they could see was a black screen

This article discusses a safety feature in PCs that allows users to force a shutdown by holding the power button, and the implications of this action on kernel dumps and black screen failures. It provides insights into the analysis of such failures and the potential causes behind them.

The Old New Thing | The Old New Thing | 2026-10-29 | 5 min

What’s New in vcpkg (Oct 2026)

This blog post summarizes changes to the vcpkg package manager, including updates on binary-cache compression, improved cache reliability, and the addition of new ports. The post highlights significant improvements and bug fixes in the latest releases.

C++ Team | C++ Team Blog | 2026-10-29 | 5 min