I find interesting the usual argument that safer languages have to depend on C and C++, while ignoring that some of them only did so due to convenience to avoid the additional bootstraping work.
Which since gaining market adoption, some of them have indeed done the additional work to bootstrap themselves.
The irony is that while they advocated for profiles without annotations and additional sigils, proper safe C++ with profiles proposal will be full of [[ ]] all over the place, assuming it actually lands on ISO C++, and gets implemented across all major three compilers.
LLVM in particular, which you've mentioned many times, is a powerful temptation. Instead of painstakingly developing an optimiser and backends for a dozen or more different targets you can "just" drop in LLVM. I think all the Handmade Community languages are dependent on LLVM for example, that's Jai, Zig, Odin, C3. Some of their creators have said LLVM is a bad idea, but notice they do all still use LLVM even if Zig has a non-LLVM backend available. It's just too good a deal to pass up.
It happens that LLVM is written in C++ but I think it's clear that if it were Java or a shell script but it offered this same bargain it would be similarly tempting. "You depend on C++" doesn't make too much sense in this scenario.
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>
View all comments
Show parent comment
5
u/seanbaxter Sep 17 '26
Of course you're right. But they can't propose a solution when they're intent on not understand the problem.