News for hackers. Stuff that matters.
Re:C++23 “Pandemic Edition” is complete by foxhill on Tuesday February 14, 2023 @06:56AM (#34788136)
> I feel C++ needs to do the following to be able to survive [...]

absolutely. unfortunately, saftey oriented proposals tend to focus on a weaker warning-esque approach ([[nodiscard]], contracts, etc.), which, in my opinion, will ultimately only make things worse. i'll stay away from my type-systems-are-great soapbox :)

the refusal to break ABI, remove non-destructive moves, the strengthening of concepts more akin to their original proposal, are not even on the horizon of discussion, despite us having exemplars of all 3.

it's perplexing, to say the least.

Re:C++23 “Pandemic Edition” is complete by pclmulqdq on Tuesday February 14, 2023 @07:24AM (#34788356)
The refusal to do an ABI break is a crazy move on the C++ committee's part. C++ without an ABI break loses performance, has a bunch of confusing features (eg bucket iterators in hash tables...), and completely prevents a lot of proposals that would make smart pointers work a lot better.
Re:C++23 “Pandemic Edition” is complete by planede on Tuesday February 14, 2023 @07:36AM (#34788449)
Not entirely disagreeing there, but to clarify, breaking hash table iterator guarantees would be an API break, not merely an ABI break.