News for hackers. Stuff that matters.
Re:Why Rust Isn't Killing C++ by gary_0 on Thursday May 02, 2024 @12:25PM (#40238057)
Well, and almost no company or open source project is going to spend years rewriting their giant C++ code-base in Rust. And many people leading such C++ projects won't bother gaining expertise in Rust or care about hiring people who know Rust. New code at these companies will continue to be C++. And not all developers consider Rust to be superior to C++.

Don't underestimate good old fashioned inertia, in other words.

Re:Why Rust Isn't Killing C++ by bluGill on Thursday May 02, 2024 @01:18PM (#40238741)
Even if you want to, it is hard to see how to make one line of Rust fit into all those millions of lines of C++.

And of course since all I know is C++ on the rare times where I have code that doesn't need to fit into all the existing C++ - I still know C++ well while I'm sure any Rust I write will have a lot of beginners mistakes.

Re:Why Rust Isn't Killing C++ by gary_0 on Thursday May 02, 2024 @02:01PM (#40239365)
> it is hard to see how to make one line of Rust fit into all those millions of lines of C++

Good point. If Carbon/Cpp2front/etc ever get off the ground, they could supercede any C++-to-Rust transition if they can easily integrate with existing code.