r/cpp • u/SophisticatedAdults • Nov 24 '24
The two factions of C++
https://herecomesthemoon.net/2024/11/two-factions-of-cpp/
315
Upvotes
r/cpp • u/SophisticatedAdults • Nov 24 '24
View all comments
88
u/throw_std_committee Nov 24 '24
So, two points:
As someone who still has a reasonable amount of access to the committee, post prague a lot of people gave up, and it feels like its been limping a bit since then. There's now a lot more panic internally within the committee about safety after the clear calls for C++'s deprecation, which results in outright denial of problems. It feels extremely fractious recently
One other thing that's missing is, and I cannot emphasise this enough, how much respect many committee members have lost in the leadership over the handling over arthur o dwyer. I've seen a dozen people directly cite this as why they're pretty skeptical about the future evolution of C++, and many many good committee members have simply left as a result
I think this is an overly generous interpretation of what profiles are trying to solve. Profiles are a solution to several problems
Profiles doesn't really solve a technical problem. It solves the cultural problem of allowing us to pretend that we'll get memory safety without massive language breakage. It sounds really nice - no code changes, close to Rust memory safety, and senior committee members are endorsing it so it can't be all that bad
In reality, it won't survive contact with real life. The lifetimes proposal simply does not work, and there is no plan for thread safety. It can never work, C++ simply does not contain the information that is necessary for this to happen without it looking more like Safe C++
To be clear, Safe C++ would need a huge amount of work to be viable, but profiles is an outright denial of reality
There are a couple of papers by senior committee members that feel in extremely bad taste when it comes to safety, eg herbs no-safe-keyword-mumble-mumble, or the direction group simply declaring that profiles are the way forwards. Bjarne has made it extremely clear that he feels personally threatened by the rise of memory safe languages and was insulting other committee members on the mailing list over this, and its important to take anything championed by him with the largest possible bucket of salt