How Not To Write A Web Service in Rust

https://fd93.me/bad-web-rust

Wrote an article about my extended skill issues and failures at writing Rust for the web. Luckily managed to get back on track recently.

64 points · 2 comments · view on lemmy.world

2 Comments

petey@aussie.zone · 11 pts · 2y

Nice article! I’m a fan of the “don’t optimise early” mantra, which seems particularly relevant here regarding clone

BB_C@programming.dev · 3 pts · 2y

Definitely don't use axum, which provides a simple interface for routes by using derived traits. Their release cycle is way shorter, which makes them more dangerous, and they're part of the same github user as tokio, which means they're shilling their own product.

this but (semi)-unironucally