Mehdi Akiki

Posts tagged "async rust"

  • Published on

    Article · Interrupted execution

    Cancellation Safety in Async Rust, Explained

    Async cancellation usually means dropping a future after Pending. See how select loops lose partial progress and how to design restartable operations.
  • Published on

    Article · Through the layers

    Why a Rust Future Is Not Send Across .await

    A Rust future is Send only when every stored state is safe to move across threads. Trace captures and locals across await to fix spawn errors.
  • Published on

    Article · Through the layers

    Why Rust Async Futures Get So Large

    Rust async functions store every value needed after an await. Learn to measure future size, identify saved fields, and reduce it without boxing everything.