Parameterized Futures in Rust
Lately I've been programming with Rust quite a bit. In my opinion, the language
shows careful, thoughtful design in almost every decision point of its
development. The syntax, semantics, standard library, and tooling are all truly
top-notch (and a welcome change from my C++ work). I've also used Rust deeply
enough to encounter the edges which aren't so smooth. Async code (using the Rust
Future
trait) can especially present difficult cases at times, like when
dealing with more complicated lifetimes and when you want to be able to take
parameterized futures (i.e. future generators) as arguments.