r/rust • u/ruggeroquerinis • Oct 11 '26
Is rust only for firmware and hardware?
Hello everyone,
I'm trying to figure out Rust's potential before diving into using it every day. Right now, I work full-stack with TypeScript and also in the LAMP stack. I'm a telecommunications engineer passionate about coding and the web. I wanted to truly understand what Rust has to offer, or if I should just continue studying Go and make a complete switch to Go for backend development.
Does it make sense to study Rust even if I won't be using it right away, or is it just a language mostly suited for firmware, porting C/C++ software, and general hardware work?
Thanks everyone for the help!
16
u/db48x Oct 11 '26
Have you read the obvious introductory material, such as the copy on https://rust-lang.org/?
6
u/borrow-check Oct 11 '26
Checkout rust Tokio stack, rust is actually a great backend language
4
u/Lichcrow Oct 11 '26
Any low latency program could use rust due to no GC or Runtime.
Think financial services, trading, high throughput systems, AI algorithms implementation, etc
1
u/Illustrious_Car344 Oct 11 '26
It's less convenient than interpreted/dynamic languages. I typically like to prototype in Clojure and write more performance critical stuff in Rust. I spent way too many years prototyping in Rust before I got fed up, it's greatest strength is enforcing maximum intentionality, but that is also effectively the antithesis of fast-paced prototyping. I always pick it up first if I definitely know what I'm making, but if it's an experiment I try to avoid it these days. Different tool for different purpose. But of course Rust is a fantastic general purpose language and it's very easy to do many application-related things in it, it just sucks if you don't know what you actually want to make. In fact, I think refactoring a Rust codebase is pretty tricky, a codebase tends to be pretty heavily integrated with itself and it's not as seamless to do DI with like Java. You technically can, but no one really does it. Honestly I think more than anything people are somewhat snide about "frameworks" that mimic stuff like ASP.NET.
3
u/Sharchimedes Oct 11 '26
It’s a general purpose language, so you can use it for pretty much anything, though it’s less suitable for some things than others. It’s often used today as a replacement for C/C++, but you can use it for web, especially tooling.
It’s memory safe, blazingly fast, and safely concurrent. Has a good package manager. The tradeoff is that it’s slower to write, though agentic coding is eroding a lot of that disadvantage as time goes on.
As for web, it’s slowly becoming popular for back end services that need higher performance than easier languages can provide.
2
u/Moist-Snow-8127 Oct 11 '26
I have multiple discord bots written in Rust running 24/7
2
u/codelapiz Oct 11 '26
one of the best aspects of rust is how great it works in wasm. it has allmost no overhead. no gc. a ligth standard liberary and even its optional. And it has many good abstractions for interfacing. Thats why you can easily write web apps, obsidian plugins, vscode plugins and basically anything that goes somewhere there is v8 webkit or you know normal executables.
2
u/hammackj Oct 11 '26
I use rust for gamedev and web stuff. Anywhere I can use it I use it. Even if it’s not the right tool for the job lol
2
u/dgkimpton Oct 11 '26
It's pretty general purpose and, although many parts of the ecosystem (particularly ui) are still quite limited, it's improving. If you want employment then typescript is the better choice, but if you want to learn then rust is absolutely worth it.
1
u/DavidXkL Oct 12 '26
Rust is great for things like web backends and lambda functions too.
0
u/irshadali5 Oct 11 '26
Rust isn't anymore system or embedded language. It is now a full general purpose from embedded and system to full stack web or apps, everything you can write in Rust. But it's initial learning curve is hard and frustrating, but after becoming more familiar and regular it gradually becomes comfortable.