3 ms·
Ya. I guess we need some more maturity in Rust web frameworks. Specifically something like RoR and with some corporate backing. Current solutions are okay but t
by allisdust 5y ago
Ya. I guess we need some more maturity in Rust web frameworks. Specifically something like RoR and with some corporate backing. Current solutions are okay but they don't inspire much confidence due to slow pace of development and gaps wrt to frameworks in other languages.
I'm using warp currently and recently did a load test on my backend. Performance was stunning so its definitely worth it. But these gaps do decrease the overall dev velocity as we have to make custom solutions where there aren't any.
For example, I had to write some custom code which auto generates all model classes from db schema including functions for lazy loading various properties on the classes and regular CRUD. Took me a solid couple of weeks which I could have spent else where if I was using Java with JPA or RoR. Same with another piece to generate a warp compatible routes file from annotations on functions (including generating the corresponding struct for gathering post bodies and calling the actual handler function with the struct members).
Worth it? Definitely. Wish its already available as some framework? Definitely!
- tasn 5y agoWe (as you can see) use Axum. It's new but great. It reuses a lot of the Rust ecosystem (Tokio, Hyper, Tower, Serde, etc), so it keeps on improving even without them changing anything. It also relies on a very strong infrastructure.