How Not To Write A Web Service in Rust (fd93.me)
from fd93@programming.dev to programming@programming.dev on 11 Aug 2024 09:22
https://programming.dev/post/17988604

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

#programming

threaded - newest

petey@aussie.zone on 11 Aug 2024 10:05 next collapse

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

BB_C@programming.dev on 11 Aug 2024 16:03 collapse

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