Rust is much faster in frontend and backend because Rust brings low-level and high-level together without performance or security losses. However, many people don't want to migrate to Rust for some reasons:
- Rust focuses on development ease first of all, not learning ease (it has really great docs and community tho);
- Unknown before things scare people;
- They're decepted by foes of new technologies.
I'm here not to complain about evil people or to extoll Rust, no. I just wanted you not to be afraid of Rust, to join our community and see why is Rust the most loved language yourself.
I start from the point of view that pretty much all programming languages we have are the same. Being "Turing Complete" as the guys into such theory say.
But of course programming languages are the interface between what humans can easily understand and what the machines can actually do.
From that simple thought I conclude that a programming language should take us from the fuzzy, error prone thoughts of humans to actual code a machine can run with some hope of it being correct.
As such, I think it is some kind of professional negligence to not use a programming language that catches the most errors a human can make as possible. Sorry if that sounds a bit extreme.
All that aside, I wonder why you think "web development" or "social media" are some special case? They are all just programming after all.
Rust can be useful for website back-ends. Its advantage is where you need high performance (e.g. lots of data to parse and process), and control over memory usage. Rust is also useful if you're working with big and complex codebases and teams of programmers — that's when a strong type system, mandatory error handling, and a few other code-quality features become most useful.
Sometimes building something in Go, Nodejs, is more accessible than creating it in Rust. "Does social media need extreme speed or can we build it using one easier language?"
Thank you very much for your answer, it helps me a lot!
Rust for web development is great and cool, there are production ready crate like actix, rocket, warp and tide. Tokio or async-std as runtime. Learning rust web framework could be demanding and you may need to implement some processes yourself. If performance is what you are after, rust is great but for fast prototyping empress js or flask is great.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.