Let futures be futures
In the early-to-mid 2010s, there was a renaissance in languages exploring new ways of doing concurrency. In the midst of this renaissance, one abstraction for achieving concurrent operations that was developed was the “future” or “promise” abstraction, which represented a unit of work that will maybe eventually complete, allowing the programmer to use this to manipulate control flow in their program. Building on this, syntactic sugar called “async/await” was introduced to take futures and shape them into the ordinary, linear control flow that is most common. This approach has been adopted in many mainstream languages, a series of developments that has been controversial among practitioners.
Let futures be futures February 3, 2024 In the early-to-mid 2010s, there was a renaissance in languages exploring new ways of doing concurrency. In the midst of this renaissance, one abstraction for achieving concurrent operations that was developed was the "future" or "promise" abstraction, which represented a unit of work that will maybe eventually complete, allowing the programmer to use this to manipulate control flow in their program. Building on this, syntactic sugar called "async/await" was introduced to take futures and shape them into the ordinary, linear control flow that is most com
saved by
related reading
- Bringing async/await to embedded Rust - Ferrous Systemsferrous-systems.com
- async/await on embedded Rust - Ferrous Systemsferrous-systems.com
- Concurrency Patterns in Embedded Rust - Ferrous Systemsferrous-systems.com
- no_std async/await - soon on stable - Ferrous Systemsferrous-systems.com
- Notes on structured concurrency, or: Go statement considered harmful - njs blogvorpus.org
- TypeScript Structured Concurrencythecandidstartup.org
- (Quite) A Few Words About Asyncyoric.github.io
- Async Rust Is A Bad Languagebitbashing.io
- A Design Space Exploration of Async/Awaitcel.cs.brown.edu
- What Async Promised and What it Delivered — Causalitycausality.blog
- Futures and promises - Wikipediaen.wikipedia.org
- Who Runs Your Rust Future? Hands-On Intro to Async Rust | AIBodhaibodh.com