1. 46

the one with async/await

  1.  

  2. 9

    Now onto migrating the ecosystem from the futures prototype to the final version in the standard library. They’re almost the same, but some cleanups done before finalizing standard library version mean they’re not directly compatible.

    Warning: if you’re just learning Rust, avoid async code for the next ~3 months. There’s no point learning the “old” way now, but it’ll take a bit before the “new” way is fully supported by libraries.

    1. 2

      Seems like the actual Rust book won’t be having any mention of async in a while: https://github.com/rust-lang/book/issues/1275 – and the async book mentioned on that issue is full of TODOs: https://rust-lang.github.io/async-book/

      1. 4

        https://book.async.rs/ has less TODOs a d I will fill them over the weekend/coming week.

        It’s not general and based on async-std, though.

        1. 4

          do you mean https://book.async.rs/?

          1. 2

            Eh. yes. Fixed!