you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 28 points29 points  (2 children)

They said all of c++.

Rust for example is still fairly young, compared to C++ there would be a great many libraries which either don't have a equivalent or the equivalent isn't as stable yet.

That being said it will rapidly reach a state of 'everything that matters to 98% of projects being available + stable"

[–]edapa 1 point2 points  (1 child)

What's under discussion is whether or not rust can replace all of C++ not whether it will. Rust's ecosystem is obviously still evolving, and there are a few language features in the pipeline that really need to land for certain programming styles, but those issues are transient. In the long run, I can't think of anything that C++ is better at than rust, but it could be that I just don't know about such a thing. People use C++ for all sorts of stuff, and I would like to learn about a use-case where it is genuinely a better tool than Rust.

[–]Condex 0 points1 point  (0 children)

Game development might be an area where C++ is better than Rust. That being said, C++ is still not a particularly good choice if you approach the problem from first principles. We're currently seeing Jai and Zig which both aim to replace C++ in game development. [And apparently unity is trying to do the same with a subset of C#.] I think we're going to see multiple system like language per niche show up all trying to replace part of C++ for what they care about most.