r/cpp • MSVC Dev Lead • Oct 15 '26

MSVC Build Tools Version 14.52 Release Candidate Now Available

https://devblogs.microsoft.com/cppblog/msvc-build-tools-version-14-52-release-candidate-now-available/

Hi, one of the MSVC dev leads here.

The 14.52 MSVC Release Candidate is now available. If you are on the Visual Studio Insiders Channel and upgrade, you'll see that the default MSVC toolset has upgraded from 14.51 to 14.52. The blog post covers the features & fixes the team has landed in that timeframe.

C++23 is ready for production use, and available with the /std:c++23 compiler option. See the blog for more details.

We'll resume our monthly MSVC Preview (version 14.53) blog post series next month.

71 Upvotes

40 comments sorted by

View all comments

Show parent comment

5

u/pjmlp Oct 16 '26

One would expect that modules being production ready at Microsoft, so was something like that mentioned during the VS 2017 prototype days, as one of the implementation proposals, that during the lifetime of 2 Visual Studio editions, a company like Microsoft could have had talks with EDG to improve the Intelisense situation.

Alas, other resources are more relevant spending money, apparently VS 2027 is going to be all about AI and agents writing C++ code for us, thus who cares about Intelisense.

See Visual Studio YT channel about its roadmap, if you think I am being sarcastic.

Even the tips session on how to use VS debugging tools, was about how to actually use them via CoPilot.

7

u/kamrann_ Oct 16 '26

The idea that MSVC's support for modules is production ready even now is itself honestly ridiculous, whatever they might claim. The most recent version that I can compile my project on is 14.43 (about a year and a half old?), and that's with so many workarounds I've lost track. Every version since then is just ICEs and regressions left and right.

Maybe the standards for what's considered production ready have come down, but in my experience with modules the compiler is still easily an order of magnitude more buggy than at any point pre-modules over the last 20 years.

1

u/pjmlp Oct 16 '26

Agreed, and sadly kind of gives a voice to all those "modules are not ready" blog posts, that many of us thought they were exaggerating.

While Office might apparently use them, with some workarounds they downplay in talks they did in the past (the whole preprocessor trick to work around some header units imports), they are mostly usable for hobby coding.

1

u/tartaruga232 MSVC user, r/cpp_modules Oct 16 '26

Our modularized project compiles just fine with 19.53.36829 for x64 (PREVIEW) using VS Insiders. I haven't had any new issues over the last months. I haven't had any ICE for a long time now.

2

u/kamrann_ Oct 17 '26

That's great for you and I'd love to be able to say the same. But anecdotal evidence of a compiler doing what it's supposed to is meaningless when it comes to any sensible definition of production readiness.

1

u/tartaruga232 MSVC user, r/cpp_modules Oct 17 '26 edited Oct 17 '26

I've followed the Preview compiler versions of VS Insiders very closely and updated my installation of the tool chain immediately when there was an update. I occasionally had to adapt a few times minor things in our code base which the compiler rightfully no longer accepted because it became more standard conformant. None of them were module related. I haven't found any compiler regressions. Especially not with modules. I've read about modules bugs that have been fixed. A long time ago I reported modules bugs too. Those have been fixed. I haven't found any new ones and no regressions.

2

u/Daniela-E Living on C++ trunk, WG21 |🇩🇪 NB Oct 17 '26

I currently use toolset 19.53.36903, but I barely noticed differences in my code in comparison with earlier versions like 19.53.x, 19.52.y and 19.51.z when it comes to modules.

As you may know, we have modules in production in our company since the advent of VS2022, and having to deal with header files every now and then is such an annoying experience, but this is slowly fading into memories of the past. Not too ancient compilers, the current IDE, plus ReSharper give you Intellisense without red squiggles - the formerly common problem in the VS2022 era.

Nowadays, working around the problems in 19.44 (the youngest toolset version that VS2022 IDEs allow) become the major headache to support building deployments with that compiler.

And I may have found an issue in the linker/librarian that affects dynamic initialization. It looks like I have a dependable, though ugly, workaround. But first, I need to create a concise example to demonstrate that issue before I can report it to DevCom.

1

u/no-sig-available Oct 16 '26

Alas, other resources are more relevant spending money, apparently VS 2027 is going to be all about AI and agents writing C++ code for us,

Yes, and some support for Visual Rust, perhaps?

https://rustfoundation.org/media/guest-post-rust-is-tier-1-language-at-microsoft/

2

u/pjmlp Oct 16 '26

Agreed, currently only Visual Studio Code is the official Microsoft way to use Rust, as tier 1 language, see Set up your Rust development environment on Windows, third step.