3 ms·
Obviously this is a personal preference, but I prefer Rust for web services. And so I have a question - do you have experience in writing web services with Go a
by drogus 5y ago
Obviously this is a personal preference, but I prefer Rust for web services. And so I have a question - do you have experience in writing web services with Go and/or Rust? I'm often wondering what do people miss when writing Rust based web services.
Recently I even gave a shot to a todo-backend[1] implementation in Rust[2] and it honestly doesn't look that different from the Go versions.
Granted the todo-backend spec is very very simple. I would prefer to also include stuff like authentication/authorization and maybe even multi tenancy to compare better. But when I'm writing this kind of Rust code I'm often wondering - what makes Rust so unergonomic for other people?
1. https://todobackend.com/
2. https://github.com/drogus/todo-backend/blob/main/src/main.rs
- rapsey 5y agoRust async is not as simple to use, the ecosystem is much smaller and segmented across async-std and tokio. A good backend stack requires a rich ecosystem of various connectors to databases, cloud services, payment services, frontend stuff like server side rendering, graphql etc.