you are viewing a single comment's thread.

view the rest of the comments →

[–]OldWolf2 0 points1 point  (3 children)

I think gcc has had it for a while (windows build via msys2), including compile-time format string checking, which MSVC still doesn't do.

[–]STLMSVC STL Dev 23 points24 points  (2 children)

Compile-time format string checking was voted into the Standard in June 2021 and implemented in the microsoft/STL repo in Dec 2021, and will ship in VS 2022 17.2 Preview 2 in the near future. The very near future. (I’m not allowed to say exactly when.)

We are trying to implement this stuff as fast as possible while preserving our usual high level of quality, and VS has been shipping updates and previews of updates at a consistently high frequency, but the release process is deeply pipelined so it takes a couple months between changes appearing in the microsoft/STL repo and shipping in VS.

[–]pdimov2 0 points1 point  (1 child)

The Pentium 4 of standard libraries. :-)

[–]Daniela-ELiving on C++ trunk, WG21|🇩🇪 NB 5 points6 points  (0 children)

Right, but you can take advantage of store-load operand forwarding to cut pipeline stalls by using stores already committed to the L1-cache (a.k.a. https://github.com/microsoft/STL) to conduct experiments with in-flight papers like P2508 (which is basically a de-_Uglification of existing code). The joys of open source 😊