Re:Trying out C++20's modules with Clang and Make
by leni536 on Sunday October 15, 2023 @02:34PM
(#37892145)
C++ has stable binary interfaces just like C.
[ Parent
| on HN ]
Re:Trying out C++20's modules with Clang and Make
by matheusmoreira on Sunday October 15, 2023 @02:46PM
(#37892259)
I've seen compiled C++ code turn out to be incompatible with code produced by different versions of the same compiler. There is no way this is stable.
Re:Trying out C++20's modules with Clang and Make
by maccard on Sunday October 15, 2023 @03:08PM
(#37892465)
Most compiler vendors promise forward compatible stability and have done for a while now. You're never going to have perfect compatibility, as I can always just compile with -DMY_FLAG=1 and change the behaviour of everything. But, GCC and clang haven't had a breaking change in a decade, and I believe msvc has been compatible since 2015.