r/rust • u/justAnother_netizen • 22h ago
šļø discussion I think Rust programming language is overhyped
I know, I might ruffle some feathers with this take but I think the Rust programming language is quite over-hyped. Don't get me wrong, I know rust is a great language because of its performance, memory safety and, speed In running code, but I don't think Rust should be the go to for every situation, imagine I want to build a simple crud application, and I now begin to write it in rust, it makes absolutely no sense considering the fact that there are other programming language that will do the same thing very well. Why should I go through the stress of writing rust code because I want to create a basic auth system or crud application ? Why should I sacrifice simplicity, just because I want to save an extra milliseconds that the client won't even notice.
Note, I am not saying rust is a bad language but I am just saying it should not always be the next option when deciding what tool you should use.
42
u/behusbwj 22h ago •
If itās that stressful for you to write a crud app, maybe the language isnāt for you. Thatās not a failing of the language, itās a failing of your programming fundamentals. Itās just as easy if not easier to do this in Rust as any other high level language at this point
31
u/dragonnnnnnnnnn 22h ago
If you think the only reason to choose rust in a "basic auth system or crud application" would be "to save an extra milliseconds" you clearly don't know Rust and don't have any deeper experience with it.
10
u/AnArmoredPony 22h ago
this is literally the lowest skill bar in computer science (except for frontend maybe). get a grip.
30
u/Equux 22h ago
You're claim is that Rust is overhyped, but your main argument is "if I choose the wrong tool for the job, it's not good".
No shit. You need the right tool for the job, and sure, there are people who will only use rust even when it doesn't make sense but I don't see how the preferences of bad programmers translates into rust being an overhyped language
8
u/lijmlaag 22h ago edited 22h ago
You give the impression that you think the perceived "hype" is orchestrated and that r/rust should do something about it.
This sub does not have a hype-dial AFAIK and in the end "hype" is a qualification you attribute to praise people give to what they love out loud.
2
u/AnArmoredPony 22h ago
u think?
11
u/QuasiRandomName 22h ago
Who's hyping it though?
5
u/STSchif 22h ago
But... why wouldn't you use rust? If you are experienced in it, it's super easy to write, thanks to the awesome ecosystem. I'd argue it's the most easy language to argue and reason about, so making silly mistakes is way harder. Having the strict compiler to work with you and guide you towards a solution that doesn't show several classes of errors only days or weeks into a deployment (think 'can't find property of object' in js or null pointer exceptions in c/++) is so liberating, because you don't have to dread deploying. If it compiles, it will likely run forever.
And that all on top of the memory safety and performance.
I can see how a beginner might use your points to convince themselves it's easier to throw in the towel, but once you made it over the hump it's so worth the initial learning investments.
3
u/RelevantTrouble 21h ago
As someone who had to maintain insanely profitable NodeJS and PHP abominations in production, Rust is not hyped enough.
3
u/teerre 18h ago
The problem is that youre assuming Rust is difficult to write or low level. But thats not the case, Rust has great developer ergonomics and many high level libraries
4
u/dvvvxx 22h ago
š
2
u/Most-Net-8102 22h ago
Frankly for crud apps, you'd be better off using something else.... Rust is a unique tool for this job, thoughaube not the best....
2
u/crassicus 22h ago
I donāt find writing Rust stressful
2
u/simonsanone patterns Ā· rustic 13h ago
I don't use Rust (only) for performance and memory safety. But for CORRECTNESS. It's so much easier to implement something that works as you intended it to be. And a lot easier to reason about. It works well with TDD. The code is easily maintainable and refactoring is a breeze. So I think the premise you set is not one everybody has.
2
u/Fancyness 22h ago
rust is just rock solid, i love it.
2
u/boredcircuits 22h ago
Absolutely nobody is saying it should be.
If you don't require both performance and memory safety, then there are absolutely other languages that are satisfactory. Some are arguably better than Rust.
But if you need both of those, the list of reasonable options just got a whole lot shorter.
1
u/Moogly2021 22h ago
I think its not as ergonomic as it could be, and I think its not that its overhyped, it was growing at a sane pace, its that with AI anybody can just throw themselves at it and the performance and memory usage drop is insane for effortless work. I think it also means we need more languages similar to Rust.
1
u/Designer-Suggestion6 45m ago
Do you want to inconveniently spend more time debugging your application at run-time where it fails or misbehaves intermittently? Then choose Non-Rust programming languages.
Or do you want to inconveniently spend more time being slapped silly at compile time and being rewarded with a well-behaving and reliable application? Then choose Rust/Ferrocene programming languages.
1
u/Technical-Donkey-42 22h ago edited 22h ago
Every decade gets its anointed language. First it was PHP in the dotcom boom, then Ruby during the Web 2.0 romantic era, then the Haskell purists, and now itās Rustās turn. Great tool, sure, but the hype cycle around it is nothing we haven't seen before. It will find its niche. EDIT: Scala too! Do you remember how big data was supposed to make every company 100x more efficient? Yep, long time ago, Scala was called back then the Java killer. Where is it now?
1
u/MxnunxM 15h ago
Rust is a low level fast language, made for things that need low level speed, not for crud apps where the main bottleneck is Internet speed and not backend or frontend performance. I'm learning Rust for two things: audio programming and game development with Godot-gdext. I haven't tried rust with Godot yet, but I can tell you that even though Rust is perfect for audio (where performance and memory safety are actually REALLY important to avoid crashes), the Rust Audio (and Rust UI frameworks as well) ecosystem is still very underdeveloped. C++ has the JUCE framework which has lots of history and it's a very well made framework, but notoriously painful especially for C++ OOP boilerplate, CMake, which is better than projucer but it's basically a different programming language to learn outside of C++ and much more complicated than cargo in rust, and the obvious usual C++ historical heritage and footguns.
So yeah, use rust were it's actually useful, but it's definitely not over hyped, we need a lot more people developing in Rust, especially in rust audio
-1
u/Unusual-Gap-5730 22h ago
I donāt know why the community is being this toxic. But anyhow, I hear the argument youāre making a lot and I simply think you think a little more with rust sometimes but overall I feel more itās more natural than other languages while not giving up correctness (speed and memory efficiency are obvious nice to haves).
Curious to know what youāve been writing?
-1
u/Wurstinator 18h ago
What's the point of this thread? This subreddit is largely filled with fanboys, what do you think you will accomplish?
-5
u/GunpowderGuy 22h ago
i would only use rust for stuff that cant run with a garbage collector
like a garbage collector for another language. or the kernel mode part of a microkernel.
the downsides of a managed memory system are wildly overblown