Ha! Totally agree. I do think rust has a lot of potential to take a big bite out of c/c++'s current share. But that's 10 years away, because evolution is slow.
I have more faith in the evolution of rust than C++. C++ has a lot of backward compatibility pressure with large large companies. Rust is new and is already quite a good language.
I also think that Rust has a bright future ahead, but C++ will probably live forever. There is a huge amount legacy code in C++, a lot of it tied to embedded systems that have service contracts that measure decades.
C++ didn't manage to displace C completely, I doubt that Rust will manage to displace C++. This is especially true now that C++ is seeing active improvement that makes it a lot more attractive for new projects.
It's too early yet to make claims like that. Rust may or may not end up supplanting C++ in some areas, but even in the most optimistic case it definitely won't obviate C++ entirely.
A lot of people working with C/C++ I know are looking forward to Rust, but the problem is that currently it's nowhere near as mature and widespread as former languages. I hope that will change in the near future as it looks like promising system language.
I feel like rust has been having a lot of success recently in areas that were previously dominated by c not c++, but i'm not that familar with the rust landscape so maybe i am mistaken.
I think you’re blissfully unaware of just how many developers are still being trained in C/C++ this day. I agree with you that in the long run, Rust has everything going for it to replace C++, but these types of things happen in a span of several decades, not years.
Yeah Rust will mostly kill c++ overtime. I know people keep talking about modern c++ and the language has certainly improved, but it’s nowhere near the productivity of Rust.
With how slow the c++ community moves and how much debt they have I think it’s game over in most arenas
I truly believe that's the only reason people aren't using Rust as a replacement for C / C++ immediately. The adoption isn't widespread, but I'm rather optimistic it will be.
C++ has had decades to replace C, but it’s really stalled and even lost ground in embedded systems. I can’t see Rust faring much better. C might end up being an eternal language until there is a dramatic enough shift in operating systems to merit replacing it.
Yes, this is my concern as well. I used Rust semi-seriously around the time it launched 1.0 (the cake was delicious!) but as an ex-professional C++ dev who loathes C++ very very much, I have a hard time finding Rust any more palatable these days. I'd probably still choose C if I needed to.
Good point. I think the rust hype threw me off incase it's going to replace C++ but I do agree with GP in that it's probably going to be more like a C/C++ split.
This post has convinced me to look at C++ again. Last time I used it I got put off by the lack of dependency manager so linking things like Boost sucked. Any tips on a modern tool chain?
reply