async/await with async-std
summary
Claim: async/await stabilises around the conference and async-std ports libstd into async equivalents, exposing familiar types and JoinHandle semantics. It ships innovations like single allocation tasks and a unified spawn model including spawn blocking. Benchmarks show a 1.56× win on a 256K file read, Mutex up to 9× faster under contention, spawn rates on par with Tokio and a channel-ring score at 0.9×; 1.0 release is imminent and channels remain unstable pending API decisions.
AI-written summary · about
chapters (14)
- 0:00Start
- 0:23Who Am I
- 2:19Stability
- 10:18Spawn
- 11:11Join Handles
- 11:50Spawn Blocking
- 14:59Streams
- 17:27Sync Module
- 21:46Summary
- 28:27Should I Use Futures Lock Mutex
- 28:55Mutexes
- 29:57Channel Ring Benchmark
- 30:28Conclusion
- 30:58Roadmap
related talks
46mA Tale of Two Asyncs
29mAsychronous programming in Rust
01h 04m[old version]The C++20 Synchrononization Library
57m[filtered] Asynchronous C++ Programming
31mAsync Rust: Past, Present, and Future
47mA Tale of Two Asyncs: Open Source Language Design in Rust and Node.js
26mReasoning with Async Rust
42m"Cancelling Async Rust"
