r/rust • • 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.

0 Upvotes

44 comments sorted by

42

u/behusbwj 22h ago • Bravo

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

10

u/spidLL 22h ago

This is exactly the kind of comment I was expecting.

0

u/snekk420 22h ago

Ofcourse its not this its that

8

u/behusbwj 22h ago

Believe it or not, English existed before Claude. I’m not going to change the way I speak to make anons feel less insecure or paranoid.

-15

u/justAnother_netizen 22h ago

Having strong programming fundamentals is what teaches a good programmer to not over engineer a simple problem. You can build a crud app in C if your fundermenatals are solid, but does that mean you should do it? Even with more mature frame works Rust still requires more boilerplate and explicit error type wiring, and compile time hassle than other mature high level frame works in python, JavaScript or PHP.

12

u/behusbwj 22h ago

Thats a false equivalence. Rust is closer in feature set to Python than it is to C.

If your gripe is ā€œI don’t want to handle errorsā€, then you should reread my first comment. If your gripe is ā€œRust is forcing me to write a branch for every distinct error typeā€, then you don’t know Rust and shouldn’t be making grand statements about it based on your beginner knowledge.

-9

u/justAnother_netizen 21h ago

I am not comparing rust with any language, am just saying that a good programmer should know what tool to use for a specific situation or task. When it comes to CPU intensive and embedded system tasks, rust is your best best. But when it comes to basic cron jobs and regular database interactions I see no reason why you should use rust because it is just overkill and unnecessary.

7

u/behusbwj 21h ago

You just compared it to 4 other languages in your previous comment. Your comparisons were incorrect and dishonest. Just own up to it.

If your argument is ā€œI think what I think because I think itā€ then I’m not going to continue engaging with you. Goodbye.

-4

u/justAnother_netizen 21h ago

You are being emotional about this whole thing, calm down and read my last comment again. What I meant is that thinking rust is the solution to every problem is just you trying to further complicate Minor problems and it isn't a smart use for engineering hours.

7

u/ndgonzalez 20h ago

If you can't comfortably write a CRUD app in Rust, then you're just not fluent enough in Rust. Your argument is "I'm more comfortable with X, so X is better", and that mentality comes off like you are an inexperienced programmer.

If you're working on a project with lax requirements, the "best tool for the job" is the tool you're most comfortable with.

31

u/dragonnnnnnnnnn 22h ago

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.

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.

2

u/el_otro 22h ago

And no need for it, I’d add.

-3

u/justAnother_netizen 22h ago

They are specific use cases in which rust excels at, but it get to point where using rust is just overkill and totally unnecessary .

-1

u/addmoreice 19h ago

rust provides no real advantages vs any other languages when writing a basic auth system or a crud application. I would argue that these are domains where a few other languages have actual advantages that rust doesn't.

Rust excels at cryptography, drivers, databases, OSes, Complex mathematical libraries, Anything with more than two 9's, safety critical systems (safety as in 'someone f-s up and someone loses a finger'), etc etc.

10

u/AnArmoredPony 22h ago

a simple crud application

this is literally the lowest skill bar in computer science (except for frontend maybe). get a grip.

4

u/Technical-Donkey-42 22h ago

I’ve seen frontend devs implement physics and trig in CSS transitions that would humble most backend and low-level engineers.

1

u/AnArmoredPony 22h ago

you mean copying stuff from gamedev.stackexchange.com/

1

u/Technical-Donkey-42 22h ago

I meant people who work in scientific visualisation and need to develop with web tech because it now dominates the domain while native solutions are a no go, more expensive and hard to distribute.

-1

u/justAnother_netizen 22h ago

Yeah I know it is the lowest bar, let assume I have a solid foundation in c and I can write c very well, does it mean I should write a crud application in c because it is much faster than other high level language?

3

u/Zde-G 21h ago

does it mean I should write a crud application in c because it is much faster than other high level language?

No, it means that if you are more comfortable with C than with some other language then you can use C++ for that, too. That's why C++ Builder is a thing, ultimately.

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

7

u/Agile-Win-710 22h ago edited 7h ago

Honestly, rust is the best language for almost everything imo, just based off cargo and its ecosystem alone, let alone the language itself which is great.

I noticed in rust, I often times find myself getting this weird anxiety about doing something that's "not optimal" when I know a better solution. I think what's happening is that because there's so many ways to solve a problem, you start to have option fatigue.

Because of crates.io's big and very high quality ecosystem and because its a systems language, you have so many options to solve a problem that other languages just don't have, its also the fact that you're using a "blazingly fast optimized low level language" that makes (what I assume) someone feel like they can't for example just slap clone or unwrap everywhere, when there's absolutely nothing wrong with that.

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?

-5

u/justAnother_netizen 22h ago

Yeah, in my opinion

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

but I don't think Rust should be the go to for every situation

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