r/cpp
•
u/steveklabnik1
•
Oct 24 '24
•
1
Why Safety Profiles Failed
https://www.circle-lang.org/draft-profiles.html
180
Upvotes
View all comments
Show parent comment
0
u/germandiago Oct 26 '24 edited Oct 26 '24
No, the best way is to fit something that works well enough and not hugely disruptive but not staying static.
Packing that feature as it stands now is a suicide in my opinion.
Yes, it works, proposers say, obviating disruption, std2 lib, old code not working code for analysis, training needed for a "Google strategy", the cost of rewriting code OR have to give up its safety analysis directly, the fact that new code will be written in C++ for toolchains available in some environments that cannot be upgraded but would later benefit from analysis, compatibility, existing systems, etc.
Yes, if you discard all that it seems like the feature is great.
As I said, this feature, as it stands, is a suicide right now. It is calling for people to migrate directly to Rust.
Many people would like it, they consider Rust the better language, but then use Rust.
This needs a design that fits C++, not one that appeals audiences who are not using the language every day IMHO, without any disregard for the work done. I think some parts can be reused.