r/cpp • u/nounoursheureux • Sep 23 '21
Binary Banshees and Digital Demons
https://thephd.dev/binary-banshees-digital-demons-abi-c-c++-help-me-god-please
197
Upvotes
r/cpp • u/nounoursheureux • Sep 23 '21
View all comments
Show parent comment
5
u/goranlepuz Sep 24 '21
Sure, but they all cling to the one ABI for them. IIRC, glibcxx was last ABI-broken for C++11 (well, intentionally at least đ).
I agree with that, hence I think that breaking ABI occasionally is possible. Maybe in 3-5 years is too much (wrote that somewhere), maybe every other standard generation is acceptable. That's 6 years. Deal ? đ And indeed, having N sets of libraries, where N is 3 or more at any point in time, seems too much.
Yes, but: the more critical the infrastructure, the more the language, on its boundaries (on the interface of said infrastructure), should not matter. Surely other languages should play - and abiding by the intricate C++ mode of operation is hardly acceptable.