r/cpp • MSVC STL Dev • Sep 10 '26

MSVC C++23: constexpr cmath with LLVM Libc

https://devblogs.microsoft.com/cppblog/msvc-c23-constexpr-cmath-with-llvm-libc/

MSVC is shipping C++23 constexpr <cmath> in the next Build Tools update! (And a partial implementation of C++26 constexpr <cmath>.) Our compiler frontend dev Cody Miller will be publishing a series of blog posts about this work, starting with this overview. The next one will be a guest post from LLVM libc's maintainers describing the incredible amount of effort that's gone into their code.

180 Upvotes

32 comments sorted by

View all comments

Show parent comment

-2

u/tyler1128 Sep 11 '26

Is ABI stability to the point of the System-V/Itanium ABI stability on most Linux and other modern *nixes close? There's little point in dynamic linking C++ if you can't trust that even a small revision in your STL/compiler will break compatibility.

4

u/STL MSVC STL Dev Sep 11 '26

https://learn.microsoft.com/cpp/porting/binary-compat-2015-2017 describes our ABI stability guarantees for the VS 2015+ release series.