New Checks Since Visual Studio 2022 17.8
C++ Team Blog
by Gabor Horvath
2d ago
The C++ team is committed to making your C++ coding experience as safe as possible. In the last couple of releases, we added new safety checks based on the requests of internal customers like the Windows group. Below is the overview of the new checks. For additional information for each of the checks, please refer to the linked help documents. C6395: Helping migration to C++17 and above Consider the following snippet: a[++i] = i; The meaning of the code depends on the order in which we evaluate the subexpressions. In case we evaluate the left-hand side of the assignment first, the code store ..read more
Visit website
OpenMP improvements in Visual Studio C/C++ compiler: triangular loop collapse
C++ Team Blog
by Vadim Paretsky
2d ago
Our previous blog post about OpenMP support in Visual Studio announced support for the loop collapse feature in version 17.8.  In the meantime, we have continued working on improving the feature and, in Visual Studio 2022 17.10, we have added a new, more efficient algorithm for partitioning work of certain types of collapsed triangular loops supported by the OpenMP Standard 5.2. All this work continues to be accessible if you are using the -openmp:llvm switch (see the Improved OpenMP Support for C++ in Visual Studio blogpost for details about this switch). In this blog we will describe th ..read more
Visit website
Pure Virtual C++ 2024 is Now Live!
C++ Team Blog
by Sy Brand
2d ago
Pure Virtual C++, our free one-day virtual conference for the whole C++ community, is now live! Check it out on YouTube: The sessions are: Automated Testing of Shader Code with Keith Stockdale (Rare) – 15:00 UTC Message Handling with Boolean Implication with Ben Deane (Intel) – 15:30 UTC I Embedded a Programming Language In Debug Information with Sy Brand (Microsoft) – 16:00 UTC Enhancing C++ development with Copilot Chat with Sinem Akinci (Microsoft) – 16:30 UTC Progress Report: Adopting Header Units in Microsoft Word with Zachary Henkel (Microsoft) – 17:00 UTC The post Pure Virtual C++ 2 ..read more
Visit website
Usability Improvements in the Visual Studio Connection Manager
C++ Team Blog
by Sneha Ramachandran
1w ago
In Visual Studio 2022 17.10 Preview 2, we’ve introduced some UX updates and usability improvements to the Connection Manager. With these updates we provide a more seamless experience when connecting to remote systems and/or debugging failed connections. Please install the latest Preview to try it out. Read on to learn what the Connection Manager does, and which issues that we resolved.  What is the Connection Manager?  The Connection Manager is a tool in Visual Studio that allows users to manage and store SSH connections to remote systems. You can add new connections, edit existing c ..read more
Visit website
Visual Studio features for C++ Header Files and Modules
C++ Team Blog
by Mryam Girmay
1w ago
In the field of C++ programming, the management of header files and modules can often seem challenging. However, there are numerous tools and features available that can simplify this process, enhancing efficiency and reducing the likelihood of errors. Here’s a walkthrough for several tools that we provide for C++ headers and modules. Run Build Insights Start by running Build Insights, through navigating to Build > Run Build Insights. This tool provides insights into the Include File and Include Tree views to analyze and optimize your #include usage. For instance, in the bullet3 sample rep ..read more
Visit website
Pure Virtual C++ Pre-Conference Videos – Linux Development, Modules, Containers and more!
C++ Team Blog
by Sy Brand
1w ago
  Pure Virtual C++ is our free one-day virtual conference for the whole C++ community. This year it will run on April 30th 15:00 UTC. Sign-up for free to get access to our five sessions on the day. Half of the pre-conference content for the conference is now available. We have videos on a host of topics: Visualizing Macro Expansion in Visual Studio – Mryam Girmay Remote Unit Testing in Visual Studio – Jonathan Phippen New Linux Development Features in Visual Studio – Paul Maybee Dev Containers in Visual Studio – Oleg Kharitonov New Features for CMake Targets View in Visual Stu ..read more
Visit website
VS Code C++ Extension 1.19 Release: 3.6x faster Go To Symbol & 1.5x faster colorization
C++ Team Blog
by Alexandra Kemper
2w ago
With our recent 1.19 release, performance was our biggest focus for the C++ Extension in Visual Studio Code. This included features like progressive population of IntelliSense results and faster symbol searching. With these enhancements, you can begin writing C++ code when opening a file quicker than ever before. Additionally, we also added support for fuzzy results when searching for symbols.  Faster Go To Symbol Search  Searching for symbols using the “Go to Symbol in Workspace” command now uses a new algorithm which returns relevant results in a fraction of the time it took previo ..read more
Visit website
Templates View for Build Insights in Visual Studio 
C++ Team Blog
by Lauren Prinn
2w ago
Introduction Introducing the new Templates View feature of Build Insights! Templates View now allows you to capture data about how templates in your codebase are contributing to your build time. This feature is available in Visual Studio 2022 17.10 and later.   Download Visual Studio 2022  Getting Started with Templates View  To use Build Insights in Visual Studio you will need to ensure you’ve installed the “C++ Build Insights” component. This is installed by default if you’ve installed either the “Desktop development with C++” or “Game development with C++” workloads.&nbs ..read more
Visit website
MSVC Address Sanitizer adoption in .NET’s CoreCLR
C++ Team Blog
by Zack Johnson
3w ago
Collaboration to improve the reliability and security of .NET, from the perspective of an MSVC Address Sanitizer Developer Introduction .NET (on GitHub) is a cross-platform, open-source, and general-purpose development platform with widespread adoption. A core component of .NET is the Core Common Language Runtime (CoreCLR), which provides services such as memory management, exception handling, threading, and interoperability with native code. It is used by millions of developers across multiple platforms, including Windows, Linux, and Mac OSx. The CoreCLR is implemented in native code, C and C ..read more
Visit website
Time Travel Debugging team uses Copilot Chat for C++
C++ Team Blog
by Sinem Akinci
3w ago
Ken Sykes and Juan Carlos Arevalo Baeza (JCAB) are both Principal Software Engineers who work on the Time Travel Debugging team at Microsoft, which is the team that maintains and develops the Windows Debugger (WinDbg) and related technologies. Their codebase is developed with C++ and CMake, and they primarily use Visual Studio Code for developing their code. They have been integrating GitHub Copilot and GitHub Copilot Chat into their C++ development in VS Code and have found many useful workflows for the AI pair programmer. This blog post series has been written in partnership with Ken and JCA ..read more
Visit website

Follow C++ Team Blog on FeedSpot

Continue with Google
Continue with Apple
OR