3 ms·
The more I look at Rust the more I realize it’s going to become the next standard language.
by hahahahe 6y ago
The more I look at Rust the more I realize it’s going to become the next standard language.
- arcturus17 6y agoYou mean standard for systems programming? I don't doubt that it will be a popular choice in that area, but even there it has competition from new languages. And above all, I think it might take longer than a century to phase out all the C/C++ legacy code!
- ragnese 6y agoIt'll be interesting to see how it plays out. I could absolutely see C++ devs jumping ship to Rust. I think const generics just stabilized or is about to. That was one of the first shortcomings I noticed when I learned Rust. I think custom allocators is pretty much the next big piece that would give C++ devs pause today. But I don't see Rust picking up a lot of C devs. Rust is significantly more complex than C. You certainly don't have to use traits and Futures, etc, but you also don't have to use a bunch of features of C++ either and C devs still don't jump to C++. Zig certainly gets a lot of buzz here, but I haven't personally looked into it. It does certainly sound like it's designed to appeal to the C crowd.
- cameronhowe 6y agoI know I'm only one person, but I'm a C programmer at my day job and I do all my hobby projects in Rust. For me cargo, rust-analyzer, and lifetimes/borrow checker just makes programming so much more pleasant. edit: I dont go overboard on the more advanced features in the rust language, and probably write more C idiomatic code sometimes, but I still prefer using rust over C
- ragnese 6y agoFor sure. I didn't mean to suggest that nobody from C land would enjoy Rust. Just that I think the trend will be that more C++ people move to Rust than C people. But my point of view is quite biased. I am still baffled that people would start new projects in C instead of just using a strict subset of C++, at least: classes, only trivial templates for generics, references, maybe smart pointers depending on what you're doing, but no STL, no exceptions, no inheritance, etc.