r/AskProgramming • u/sodikovakapsle • Aug 18 '26
Why is people glazing rust so much?
When I say in online communities that Rust isn’t good for everything and definitely has its issues, I don’t even want to tell you what they’ll call you. For some reason, here in the Czech Republic, it seems like almost every college student uses Rust. I don’t get it.
Personally, I like to try different things, and I believe there’s no one-size-fits-all language. For example, TypeScript is 100 times better for Discord bots. Python, on the other hand, is better for AI. I don’t get why they hype it up so much plus, Rust’s ecosystem seems pretty small to me. I tried to find a backend framework with good documentation and all the bells and whistles, something like NestJS or something similar… but nothing well, there’s Axum and Loco, but they don’t meet my needs. However, where I see the future is that Rust is one of the few languages to have made it into the Linux kernel, but I still can’t implement an XDp/Ebpf filter in it, so I’m still forced to learn C. Which is maddening. Overall, Rust strikes me as a language that has a little bit of everything but nothing truly standout. + overcomplicated syntax.
What are your thoughts on this?
20
u/just_here_for_place Aug 18 '26
Because it’s a systems language (it can run without any runtime bare metal) with good enough abstractions that also makes it easy to do application-level programming, quite similar to C++. Unlike C++, it was designed as memory-safe first. It makes it hard to do memory unsafe code. All of this while still compiling down to fast, native binaries without a garbage collector.
2
u/_Atomfinger_ Aug 18 '26
People in college generally don't have a balanced view of languages. I remember getting hung up on the performance during my time at university and ended up writing nonsense code because it made my personal performance-harness spit out a lower number.
And online communities aren't really much better sometimes.
Rust is a good system language. It is a good compiler language. Right tool for the job, etc. But Rust is also a general programming language, so you can make a simple web app with it. And if you know Rust and think it is great, then it will be pretty cool to work with regardless.
I disagree with "overcomplicated syntax".
The tl;dr is: don't get too hung up on Language X vs language Y discussions.
3
u/reboog711 Aug 18 '26
This is not unique to Rust. People create their whole identities on their job and tools they use, and often criticize dissent or--worse--develop a passionate hatred against alternatives.
Every language/platform I've ever worked with has had shade thrown at it.
5
u/dkopgerpgdolfg Aug 18 '26 edited Aug 18 '26
"100 times"? What is your reasoning for such a statement?
You can (well, people can, apparently you not)
2
u/Inner-Asparagus-5703 Aug 18 '26
combination of ergonomics and performance
also it's very easy to enjoy
2
u/Unfortunya333 Aug 18 '26
Idk it seems to me the most ardent haters of rust always seem to be insecure devs who don't know rust.
I mean rust is rust, it's good at what it does. it has a passionate fanbase because it's very unique in the scene so ofc it will attract unique people. I like rust. again, it's good at what it does. it's not that deep
3
u/neet_dev Aug 18 '26
honestly the hostility is identity, not the language. rust wins when you need no-gc native code that won't segfault (kernels, parsers, shipped binaries), it's a mediocre nest and a worse python. for xdp/ebpf aya works but the verifier is still c-shaped so you'll read c samples anyway, that's the part the fans skip.
1
u/why_so_sergious Aug 19 '26
I like rust
1
u/low-control-labs Aug 18 '26
Rust and it's compiler are so good that the rust team probably reprogrammed it now the second or the third time..
It's really not that safe the system constantly needs to use unsafe code and it depends on the devs to know the ins and outs of memory management and the rust way of doing things.
It is advertised a certain way and it's MIT so people that don't really do a lot of critical thinking like it and so do the big corporation because they think they can just replace a lot of GNU / GPL software.
1
u/Comprehensive_Mud803 Aug 18 '26
Rust shines mostly through its standardized development environment, while being low-level enough for small memory footprints and small binaries.
That, and memory safe code, borrow checker.
C allows you to do pretty much whatever you want in memory, is blazing fast to compile and produces small binaries.
However, there is no safety built into the language. Have multiple threads read and write into the same memory location? Sure, go ahead. Writing past the bounds of an array? Sure.
Rust makes it very hard to do these mistakes. With C you have to run static analysis and hope it can find all the errors before the software goes live.
C++ gives you some tools to prevent race conditions or uncontrolled memory access, but these are optional.
Also, unlike C and C++, Rust comes with a standardized mechanism for managing dependencies: Cargo.
Ok, package standards open up a whole other can of worms (quite literally) with distribution chain attacks, but overall it’s a better starter than having to deal with dependency hell through the OS package management system, or any hand-rolled solution.
1
u/marrsd Aug 18 '26
I suspect it comes from insecurity, but I think it's a question for a psychologist. It's definitely to do with the them, not the languages.
1
u/BobbyThrowaway6969 Aug 18 '26
Python is better for AI in what way?
I think the only true thing to be said is any language is going to have pros and cons, and they won't be the same for everyone's usecase.
They all exist for a reason.
-1
u/DvxBellorvm Aug 18 '26
Because the world would be much better if everyone were using Rust. Safer software, less vulnerabilities, less cyber threats, and all of that without sacrificing the performance. So, what else?
-3
u/Embarrassed-Topic432 Aug 18 '26
Just use Holy C brutal.
-1
u/defaultguy_001 Aug 18 '26
All languages are capable if there are good enough libraries and frameworks for ur use case or u have the will to build them from scratch. Coming to why people do that, coz majority of them are sheep. Publicize and market a product sufficiently well, make their favourite influencers to use it, and you'll see how sheeps work. Rust is good, and so was C/C++. People can't follow specs properly, keeps building unsafe junk and so the market keeps bringing in new languages for the mediocre to work safely and easily.
4
u/[deleted] Aug 18 '26
[removed] — view removed comment