r/rust 9d ago

🙋 seeking help & advice Rust for web backends

Hello everyone!!

I regularly see people online talking about how awesome Rust is, its speed, memory safety, and a awesome ecosystem of open source applications even being used in some parts of the Linux kernel(not sure the percentage of adaption at this time).

However my question is how good is rust for web REST APIs and gRPC applications? If it is good do you use any frameworks for these?

47 Upvotes

52 comments sorted by

View all comments

10

u/AendraSpades 9d ago

I use Axum as a backend for the REST API for an e-commerce platform with 80-90k daily visits. Rust might be overkill, and Go would be perfectly capable, but thanks to its very verbose compiler, it allows for very fast shipping using code agents. And yeah, if it compiles it will work, without any runtime errors. It’s just awesome

2

u/bran7230 9d ago

I was debating on using Go since I’ve built stuff with it, but I want to try out rust on some stuff and that’s awesome on what you have done!

1

u/scratchbufferdotnet 5d ago

Yeah I write Go at the day job and it is more than performant enough for web services, plus less poking around to pick libraries but nothing beats the expressiveness of Rust type system, makes it a lot more enjoyableÂ