pjmlp 5 days ago

They are talking about C not C++, for Microsoft C was done, it was about time to move into C++.

This was the official position in 2012,

https://herbsutter.com/2012/05/03/reader-qa-what-about-vc-an...

However after the Microsoft reboot with Satya, there was a change of heart regarding C, back in 2020, with C11 and C17 being supported,

https://devblogs.microsoft.com/cppblog/c11-and-c17-standard-...

And 2022

https://devblogs.microsoft.com/cppblog/c11-atomics-in-visual...

However there is no official roadmap regarding C23 support, and now with the whole safety discussion going on and Secure Future Initiative, probably will never happen.

Additionally clang is a blessed compiler at Microsoft, it is included on Visual Studio, so whatever MSVC doesn't support can be done in clang as alternative.

1
HexDecOctBin 5 days ago

They have added one feature (typeof) from C23, so maybe they will add the rest when they release C++26. Or maybe they won't. Microsoft is an expert in inflicting the cruelty of providing just enough hope.

pjmlp 5 days ago

C++26? There are having issues with delivering C++23, since the whole change in security focus with Rust, Go, C#, Java first, C and C++ for existing codebases, and most likely one of the reasons Herb Sutter is no longer at Microsoft.

https://developercommunity.visualstudio.com/t/Implement-C23-...

https://developercommunity.visualstudio.com/t/Implement-C26-...

Security changes,

https://azure.microsoft.com/en-us/blog/microsoft-azure-secur...

https://blogs.windows.com/windowsexperience/2024/11/19/windo...

HexDecOctBin 5 days ago

Oh wow, I don't write C++, so I didn't know how bad the situation was. My recollection that MSVC always implemented C++ standards posthaste is clearly outdated.

Yup, we are never getting C23. Good thing C11 is decent enough, I guess.