DEV Community

Discussion on: Explained: Futures in Rust for Web Development

jeikabu profile image

Pretty good write up.

For me the biggest gotchas were:

  1. Pull (rather than push) model; without tokio::run() or something else "pumping" poll() nothing happens
  2. Understanding what's going on with futures 0.1/0.2/0.3 crates
  3. Dealing with Send and Sync