Hi, I'm Eric.

I’m an avid world traveler, photographer, software developer, and digital storyteller.

I help implement the Content Authenticity Initiative at Adobe.

Search Results

Common Mistakes with Rust Async

Found on 14 December 2023 via Mastodon 472

via Rust Weekly 🦀 (@rust_discussions@mastodon.social): Common mistakes with Rust Async

A practical guide to common pitfalls in async Rust, starting with the often-overlooked issue of task cancellation. The Qovery team shares hard-won lessons about how async tasks can be stopped at any await point, leading to subtle bugs like counters that never decrement. A valuable read for anyone working with Tokio and async Rust in production.

Qovery: Common Mistakes with Rust Async

If you’ve enjoyed this …

Subscribe to my free and occasional (never more than weekly) e-mail newsletter with my latest travel and other stories:

Or follow me on one or more of the socials: