Showing results for General C++ Series - C++ Team Blog

Jun 5, 2024
4
0

Integrating C++ header units into Office using MSVC (3/n)

Cameron DaCamara Zachary Henkel
Cameron,
Zachary

Overview Introduction In our previous two (part 1, part 2) blog posts we discussed how Office was thinking holistically about header units. In this installment we’d like to share the concrete steps taken to integrate header units into the build of Microsoft Word, and their effect on build throughput. Throughout ...

C++General C++ Seriesperformance
Oct 3, 2023
6
4

Open Sourcing IFC SDK for C++ Modules

GDR
GDR

Back with VS2019 version 16.10, we announced a complete implementation of C++ Modules (and, generally, of all C++20 features) across the MSVC compiler toolset, static analysis, IntelliSense, and debugger. Implementing Modules requires principled intermediate representation of C++ source programs. Today, we are thrilled to announce the availability ...

C++AnnouncementNew Feature
Sep 11, 2023
6
2

Integrating C++ header units into Office using MSVC (2/n)

Cameron DaCamara Zachary Henkel
Cameron,
Zachary

In this follow-up blog, we will explore progress made towards getting header units working in the Office codebase. Overview Overview Last time we talked about how and why header units can be integrated into a large cross-platform codebase like Office. We discussed how header units helped surface conformance ...

C++General C++ Series
Dec 13, 2022
0
3

Improving the State of Debug Performance in C++

Cameron DaCamara
Cameron DaCamara

In this blog we will explore one change the MSVC compiler has implemented in an effort to improve the codegen quality of applications in debug mode. We will highlight what the change does, and how it could be extended for the future. If debug performance is something you care about for your C++ projects, then Visual Studio 2022 version 17.5 is ...

AnnouncementC++New Feature
Sep 12, 2022
5
9

Integrating C++ header units into Office using MSVC (1/n)

Cameron DaCamara Zachary Henkel
Cameron,
Zachary

.cameron { color: #4472c4; } C++20 has had a lot to offer and one feature in particular requires the most thought of all when integrating into our projects: C++ modules (or C++ header units in this particular case). In this blog we will show a real world case of integrating a new C++20 feature into a large codebase that we might all...

C++General C++ Series
Feb 1, 2022
0
0

GSL 4.0.0 is Available Now

Dmitry Kobets
Dmitry Kobets

GSL 4.0.0 has been released! Here is a summary of the changes.

C++AnnouncementGeneral C++ Series
Aug 10, 2021
19
2

Moving a project to C++ named Modules

Cameron DaCamara
Cameron DaCamara

There is a lot of hype (and perhaps restraint) to using modules in projects. The general blocker tends to be build support, but even with good build support there is a distinct lack of useful resources for practices around moving projects to using named modules (not just header units). In this blog we will take a small project I created, analyze ...

C++General C++ Series
May 11, 2021
2
0

New Static Analysis Rule for Bounds Checking

Jordan Maples
Jordan Maples

We have added a new experimental static analysis rule in Visual Studio 16.10 version Preview 3 - C26458, . The new warning is a more precise and less noisy version of warning C26446, . Both warnings analyse standard containers for unchecked element access and they both share the warning message: “Prefer to use instead of unchecked subscript ...

C++General C++ SeriesWriting Code