News for hackers. Stuff that matters.
Re:Show HN: An Express-inspired web framework for Rust by kettleballroll on Sunday October 16, 2022 @09:22AM (#33223415)
Slightly off topic, but: i noticed more and more rust frameworks using async. I was under the impression that most of the time async makes programming much harder, while increasing peak performance. But is that trade off worth it for most people?
Re:Show HN: An Express-inspired web framework for Rust by alpaca128 on Sunday October 16, 2022 @11:58AM (#33224595)
I never use async when given the choice. The syntax hides away the asynchronous nature of the code so well that I frequently use it incorrectly.

I much prefer threads, which are convenient to use in Rust anyway. Is it possible to go faster? Maybe, but how often is it really a bottleneck given how fast Rust already is?