6 ms·
Honestly, I don’t feel qualified to evaluate Rust. At face value, it seems like a good replacement for C++, but I’ve never successfully used it for anything lar
by t8sr 5y ago
Honestly, I don’t feel qualified to evaluate Rust. At face value, it seems like a good replacement for C++, but I’ve never successfully used it for anything larger than a toy. That’s probably mostly on me.
My comment was referring to the impression that people who like Rust seem to think that you either also accept Rust as the best thing ever, or you don’t get it. I probably shouldn’t have mentioned it, because now the thread will be about Rust.
- arethuza 5y ago"people who like Rust seem to think that you either also accept Rust as the best thing ever, or you don’t get it" I don't think Rust is in any way unique in having people who think that way...
- martincmartin 5y ago"There are only two kinds of languages: the ones people complain about and the ones nobody uses." -- Bjarne Stroustrup https://www.stroustrup.com/quotes.html#:~:text=%22There%20are%20only%20two%20kinds,and%20the%20ones%20nobody%20uses%22 https://www.stroustrup.com/quotes.html#:~:text=%22There%20ar....
- chakkepolja 5y agoIt has got so many people from ruby and js crowds so there will be statistically more of them.
- t8sr 5y agoProbably not, but it's a question of degree. The projects I work on don't get monthly requests to drop everything and rewrite them in Haskell/Clojure/Go but we do get them for Rust. An anecdote: I recently opened a position on my team, and got two applicants on the same day who ignored the project description, and basically said we should hire them to tell us how everything we do could be better if we rewrote multiple projects in Rust. Of course it's completely possible for a programming language to be both (A) really well-designed and (B) have annoying people among its community. I suspect that's the case here.
- BiteCode_dev 5y agoEvery language that has a reputation of some kind purity in one or more characteristics (Haskell, Lisp, Rust) is bound to attract some people that values purity over practicality. It's not the case of the rust dev team, which seems very balanced. But I've met a few rust enthusiasts that match the worst of the fancy FP or Typing fan boys.
- zabatuvajdka 5y agoI personally have language fatigue after playing with various languages over two decades. The thing I hate about rust is abbreviated keywords like “fn” and “mut” because it sounds like fricken mutt. A function is a function not a fn, and is it really so hard to type “mutable”? There’s more important things in life to worry about than rewriting codebases in language Z.
- brandmeyer 5y agoAn old habit of mine: Avoid symbol-speaking or abbreviation-speaking. I verbalize "fn" as "function" and "mut" as "mutable" the same way I verbalize "std::unique_ptr" as "standard unique pointer" and not "stid unique pooter".
- HKH2 5y agoRIIR is a thing. Also, the Rust Evangelism Strikeforce. I love Rust, but I think it does go over the top, more so than other languages.
- frenchy 5y agoSure, but I think I've heard far more about RIIR and the Rust Evangelism Strikeforce than I've actually seen it in action.
- mst 5y agoIt definitely is a thing, but those people are spending their time being loud and annoying while other people are quietly releasing libraries and shipping products. Also, give it a few years and the loud and annoying people will have moved on to being loud and annoying about something else. So it goes.
- mumblemumble 5y agoIt's true, Rust is just the most recent inductee into that clique. But it seems to work kind of like the Sith: there are never more than two that are really active at any one time.
- skyde 5y agoRust is not perfect and will never replace language like c# go or python. But it’s the first language that is a true replacement for c++ because it can do everything c++ can do but in a type-safe and thread-safe way.
- benibela 5y agoIt can't do exceptions or inheritance It is more a C replacement
- nrr 5y agoIs inheritance really that critical a language feature?
- tialaramex 5y agoRust also can't overload operator&& and lacks the "macro pre-processor" that was already a bad idea in the 1970s. Absence of specific footguns is not something people will mourn. To the extent that you should have exceptions in your software, Rust's panic picks that slack up pretty well, and to the extent you should have error handling C++ exceptions were a bad idea and sum types like Result are much better. Note that although Rust's types don't have inheritance the traits they can implement do. Which is much more likely to be something you actually wanted than say, C++ multiple inheritance.
- int_19h 5y agoIt can do flow-through error handling and code reuse. Exceptions and inheritance are just two particular ways to achieve those goals.
- mbrodersen 5y ago
- bitwize 5y agoI have a very similar problem. Lisp is so compatible with the way I work, and I'm so productive in it, that I'd rather use it for everything -- even a simple Scheme implementation that lacks things like CL's condition system or "update all instances when a struct or class definition changes" magic. So I have a tendency to be very squarely within Smug Lisp Weenie territory when comparatively discussing PLs.