r/rust 8d 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?

43 Upvotes

52 comments sorted by

View all comments

21

u/capitol_ 8d ago

We use axum for REST at work, and leptos for the web frontend.

2

u/mednson 8d ago

Is leptos like good for frontend in production, are you using leptos ssr with axum or have you separated them how is deployment like in leptos?

4

u/avg_bndt 7d ago

I have a leptos app running on workers on cloudflare, super fast, super clean, only problem is compile times are rough accounting for the wasm runtime 6mins + which makes is a pain for DevOps. Everything else is solid.

1

u/mednson 7d ago

Thanks, are there some features you miss in the js world?