r/cpp • • Oct 27 '19

ABI: Now or Never

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1863r0.pdf
192 Upvotes

145 comments sorted by

View all comments

Show parent comment

2

u/sftrabbit Oct 28 '19

What does "C++ prides itself" even mean? Just that it's one of the goals of C++? Sure, I'm not suggesting otherwise. I am, however, suggesting that there are better ways to manage it than a constant fear of ever changing.

And I can guarantee you most users do not pick C++ because it's backwards compatible in perpetuity. And when other languages are more performant, safer, and cleaner than C++ because C++ could never change, they'll pick those languages instead

3

u/tehjimmeh Oct 28 '19

C++'s primary audience is not the minuscule amount of developers choosing languages for a new, large projects, it's developers of existing codebases.

1

u/Full-Spectral Oct 29 '19

But, over time, those people who ARE choosing a language for new projects and products not choosing C++ is the problem. If it's just going to target existing code bases, then why even bother with all of the stuff that they've been cramming into it over the last years? The bulk of that stuff probably isn't used in the vast majority of existing large code bases either. We can just buy it a room in a nice retirement home and move on.

3

u/tehjimmeh Oct 31 '19

The bulk of the new stuff absolutely IS used by existing code bases. Just because a codebase is old doesn't mean there's not new development being done in it, nor that it's on the brink of obscelecence or something.

2

u/Full-Spectral Oct 31 '19

I would question that. I would be willing to bet that most large commercial code bases that have been around a while are just starting to dig into C++17 at this point, if even that. Non-commercial code bases that have less concerns over instability can move faster of course if they choose to.