upvote
> I don't know if C++ will still be relevant in a few years.

And people are worried about human extinction when this is the potential trade-off!

C++'s death cannot come soon-enough.

Seriously though, things have changed so incredibly rapidly in the past year or so. I have never been such an efficient or such a proficient engineer than I have this past year (delivering feature after feature, project after project, faster and better than I could before with better feedback from users etc) and I don't even see the code any more. It could be c++, it could be python, or java or what ever - I don't really care any more: the computer deals with that trivia while I concentrate on what to build and how it should work.

Its amazing. It really is.

reply
If Fuschia ever gets finished, that's a pretty good benchmark we've reached AGI.
reply
There is a blog post on (the early baby steps of) that: https://bughunters.google.com/blog/scaling-memory-safety. We have multiple AI-assisted Rust rewrites running in production now.

(Full disclosure: I am one of the coauthors)

reply
"I don't know if C++ will still be relevant in a few years."

The standards body members are still fighting about whether memory safety is important enough to change the language for, so, I would guess the answer is "no".

reply
Yeah that was abundantly clear when Bjarne Stroustrup published "A call to action: Think seriously about “safety”; then do something sensible about it"[0] as a reaction to NSA's recommendation to no longer use C/C++.

[0] https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p27...

reply
C++ will outlive you.
reply
If no one is reading or writing Rust code at that point, it all being agent driven, Rust itself is going to be a very short step before it gets disinter-mediated away and it's English -> complex heterogenous machine code across GPU/TPU/CPU/xPUs. Not sure Rust fans or C++ haters have thought this through.
reply
Yeah, if they can make it work at google scale then no one would absolutely question it anymore
reply