Re:A taste of pavex, an upcoming Rust web framework
by afavour on Saturday December 31, 2022 @11:20AM
(#34197811)
I love Rust but I kind of agree. It’s really, really rare for a web service to need the low-level stuff Rust provides. A garbage collected is going to be just fine.
[ Parent
| on HN ]
Re:A taste of pavex, an upcoming Rust web framework
by nbittich on Saturday December 31, 2022 @11:48AM
(#34198169)
I hated async for months. Refused to touch it.
Recently I tried it again. It (seems) way better now.
Just avoid weird libraries like diesel & rocket, and everything works just as expected.
I even wrote some generic code with async and surprisingly it works without me having to get a phd in type theory to please the compiler.
Re:A taste of pavex, an upcoming Rust web framework
by marcosdumay on Saturday December 31, 2022 @12:57PM
(#34198872)
And if you want to make it async anyway, take a look at the abstractions a garbage collected language like Haskell can get you. (But well, the ones Go provide are probably more than enough already.)
Rust was not made for web development, and the fact that people keep creating frameworks and keep deciding they are good only shows how bad the usual practices are around the web.