3 ms·
It's a shame a stable ABI is declared as one of the non-goals, C++ is painful enough to integrate with other languages.
by mepian 4y ago
It's a shame a stable ABI is declared as one of the non-goals, C++ is painful enough to integrate with other languages.
- beached_whale 4y agoABI stability is an unstated goal of c++ and holds it back by preventing meaningful change or fixing of issues. This is good.
- gpderetta 4y agoApparently this is a google or google-adjacent project. Google was one of the most vocal committee members in favour of breaking ABI stability, so it is not surprising.
- kllrnohj 4y agoC++'s current unwillingness to specify a stable ABI (or even state that ABI stability is a goal) but also have the standard libraries avoid breaking the ABI is a worst of both worlds currently. And the refusal to break the ABI adds overhead to things like std::unique_ptr which isn't really great. This paper goes into the details https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1863r1.pdf https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p18...
- yakubin 4y agoAlso, the unfortunate associative containers and std::regex.
- lenkite 4y agoA stable ABI can effectively kill a language. https://cor3ntin.github.io/posts/abi/ https://cor3ntin.github.io/posts/abi/
- saagarjha 4y ago(At Google, it’s definitely useful to others.)
- masklinn 4y agoPart of why google is unhappy with the committee is google’s desire to break C++ ABIs.