CTO News Hubb
Advertisement
  • Home
  • CTO News
  • IT
  • Technology
  • Tech Topics
    • AI
    • QC
    • Robotics
    • Blockchain
  • Contact
No Result
View All Result
  • Home
  • CTO News
  • IT
  • Technology
  • Tech Topics
    • AI
    • QC
    • Robotics
    • Blockchain
  • Contact
No Result
View All Result
CTO News Hubb
No Result
View All Result
Home IT

Visual Studio 2022 adds C++ atomics

December 25, 2022
in IT


Visual Studio 2022 17.5 Preview 2, the second preview of a planned upgrade to Microsoft’s signature IDE (integrated development environment), adds a number of usability improvements including a new search experience, .NET capabilities such as publishing ASP.NET projects to Azure Container Apps, and C++ capabilities such as experimental support for C11 atomics.

Visual Studio 2022 17.5 Preview 2 was published December 13, and is now accessible from the Visual Studio website. For C++, Microsoft has added an experimental implementation of C11 atomics to MSVC (Microsoft C++), available as an option with the /experimental:c11atomics flag in /std:c11 mode or later. Operations on atomic types are operations that are guaranteed to be executed as a single transaction.

Currently only lock-free atomics are supported, but plans call for extending support to locking atomics as well. C11 atomics add the library header, the _Atomic(T) type specifier, and the _Atomic qualifier. The _Atomic qualifier is particularly useful for declaring structs or variables of structure types, because it does not require parentheses.

Also with Visual Studio 2022 17.5, Go To Definition for C++ now will use a more subtle indicator when the operation is taking more time, replacing the previous modal dialog. Microsoft also is shipping a native Arm64 Clang toolset with its LLVM workload, allowing native compilation on Arm64 machines. In another C++ improvement, Hot Reload now is supported in the CMake Project template, allowing developers to modify projects while running.

For .NET, Visual Studio 2022 17.5 now supports publishing to Azure Container Apps via Right-click > Publish for ASP.NET projects. This allows for publishing on demand and setting up CI/CD via GitHub Actions. Developers can view the application output for ASP.NET Core projects in the Integrated Terminal Tool Window instead of an external console window. If multiple ASP.NET Core projects are launched, each will show its output in a different Integrated Terminal Tool Window.

Also in Visual Studio 2022 17.5:

  • A new search experience in the IDE makes it easy to quickly find menu feature files, types, and members in code all from one place. Improvements have been made to ordering and relevancy in code search. A preview panel in code search, meanwhile, supports code results for both C# and C++.
  • A Sticky Scroll feature helps developers orient where they are in a file and understand the context of code.
  • A new and improved text visualizer has additional tools and string manipulation options. Developers can do URL Encode and Decode, Base64 Encode, and Decode JWT easily.
  • A Quick Add feature lets users add items to solutions without navigating through the New Item Dialog.
  • Developers now can export a configuration file to configure contents of an offline installation layout.

Visual Studio 2022 17.4 was released last month in conjunction with .NET 7. Visual Studio 2022, released in November 2021, brought 64-bit support to the IDE.

Copyright © 2022 IDG Communications, Inc.



Source link

Previous Post

’Tis the Season for Autonomous Retail

Next Post

2022 was the year of Linux on the Desktop

Next Post

2022 was the year of Linux on the Desktop

From Zero to CTO: James Crowley is in the spotlight

Trending News

Who Will Blockchain Put out of Business?

December 26, 2022

The Hard Truth About Performance — A Guide for CTOs

December 31, 2022

R1/beta4 – Release Notes | Haiku Project

December 23, 2022

© 2022 CTO News Hubb All rights reserved.

Use of these names, logos, and brands does not imply endorsement unless specified. By using this site, you agree to the Privacy Policy and Terms & Conditions.

Navigate Site

  • Home
  • CTO News
  • IT
  • Technology
  • AI
  • QC
  • Robotics
  • Blockchain
  • Contact

Newsletter Sign Up

No Result
View All Result
  • Home
  • CTO News
  • IT
  • Technology
  • Tech Topics
    • AI
    • QC
    • Robotics
    • Blockchain
  • Contact

© 2021 JNews – Premium WordPress news & magazine theme by Jegtheme.

SUBSCRIBE TO OUR WEEKLY NEWSLETTERS