3 ms·
Rust is not an easy language to learn. Among languages in common use, it is almost certainly the most difficult language to learn.
by preseinger 4y ago
Rust is not an easy language to learn. Among languages in common use, it is almost certainly the most difficult language to learn.
- baq 4y agoDisagree. C++ is the most difficult - the compiler accepts programs which Rust would reject and then they segfault or worse.
- preseinger 4y agoThat's true, but it doesn't mean C++ is harder to learn. Rust has a broader and more novel conceptual surface area than C++. This is what influences difficulty, not memory safety guarantees.
- baq 4y agoI postulate that a lot of folks confuse ‘easier to learn’ with ‘easier to get code to compile’ and I disagree that the two are the same. Rust makes it more obvious sooner that you have soooo much to learn.
- preseinger 4y agoRust presents a programmatic model to its users that is exceptionally broad. That model is not objectively more correct, or better, or whatever else, than the model presented by other languages. It provides different guarantees, and extracts different costs, and lifts different concerns into the domain of its users, compared to alternatives. Those particular costs and benefits make sense for certain use cases, and don't make sense for others.