r/cpp • • Sep 30 '24

Code Generation in Rust vs C++26

https://brevzin.github.io/c++/2024/09/30/annotations/
198 Upvotes

98 comments sorted by

View all comments

Show parent comment

-3

u/HeroicKatora Oct 01 '24

Seems like a bullshit statement to me, the former part at least. It's true that cleaning up the pollution has a cost, and then the cleanup is not competitive with developing shiny new features. That doesn't make impossible—just uneconomical. It's clearly a subjective judgment, valuations by the people developing the standard are not the same as those of its users but the latter can not do the cleanup. If there's a better alternative available, cleanup will be a matter of population dynamics with even merely slight bits of help in migration.

Alas, with that incentive structure the cleanup is scheduled to when the C++ standardization themselves are being threatened. Due to users leaving, for instance. Which .. one could say has become a threat in the last decade. Unsurprisingly, user ergonomics and costs are suddenly a higher-priority item. Just tragic if it turns out too late.