Async Rust is amazing, but not flawless; async bloat is an issue. In this blog, @diondokter explains the causes of async bloat, and some workarounds: https://tweedegolf.nl/en/blog/235/debloat-your-async-rust

#rustlang #embedded #async

Debloat your async Rust - Blog - Tweede golf

Async Rust is amazing, but far from flawless. In this blog, I'll walk you through the current struggles and possible solutions.

@tweedegolf @diondokter As for returning ready(value), what's keeping the compiler from performing that optimization?

@chrysn That's what the part 2 is about :)

Here's a sneak peek of the title: `Async Rust never left the MVP state`

@diondokter Yeah, reading on, I kept thinking: The compiler would hoist send_response out of the match normally, why doesn't it here?
Looking forward to it!