Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

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.


sort by: page size:

I think Rust need another decade to be a contender to C++.

Do you think Rust will get a leg up on C++ in the near future?

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.

Some might think C++ will take years (few years I was hoping 2025, but seems unlikely now) to catch up to Rust in some important ways.

I'd prefer the evolution of Rust to slow down and stabilize. More like C and much less like C++.

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.

I'm pretty sure C++ advances much faster now than Rust will in 30 years.

Then again, you'll just point to how awesome it is that Rust doesn't change and stays stable and easy to use for years.

It's all just rationalizations for the emotional investments you've already made.


Rust is very exciting but the ecosystem needs to grow before it'll be as useful as C++. Fantastic language, thoughtfully designed.

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.

It's getting there.


Rust is not a decent contender. It is far too immature. The only reasonable contender is C++.

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.

Also now there is Rust as potential C++ successor. Time flies.

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?

next

Legal | privacy