r/cpp • • Sep 16 '26

CppCon CppCon

https://cppcon.org/2026/
56 Upvotes

19 comments sorted by

View all comments

Show parent comment

3

u/tialaramex Sep 17 '26

The big problem is Culture, that was the case when Bjarne had that whole presentation in which the C word appears only once, in a quote by someone else explaining why this is important. Your solution granted C++ essentially the same technology as Rust has, but the greater need is Rust's safety culture and you're not going to get that from WG21.

Rust's technology gets you the original, chainsaw juggling for toddlers core::mem::uninitialized<T> function. It's unsafe so it's your job to be careful right? But Rust's culture meant when somebody noticed this is way more treacherous than most programmers probably grasped they were empowered to de-fang it, deprecate it and come up with a much better replacement MaybeUninit<T>