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
Explore this link on the map →saved by
related reading
- async/await on embedded Rust - Ferrous Systemsferrous-systems.com
- Concurrency Patterns in Embedded Rust - Ferrous Systemsferrous-systems.com
- Bringing async/await to embedded Rust - Ferrous Systemsferrous-systems.com
- no_std async/await - soon on stable - Ferrous Systemsferrous-systems.com
- Async Rust Is A Bad Languagebitbashing.io
- Futures and promises - Wikipediaen.wikipedia.org
- Why async Rust?without.boats
- Who Runs Your Rust Future? Hands-On Intro to Async Rust | AIBodhaibodh.com
- Fundamentals of Asynchronous Programming: Async, Await, Futures, and Streams - The Rust Programming Languagedoc.rust-lang.org
- Why choose async/await over threads? | Hacker Newsnews.ycombinator.com
- performance - What is the best approach to encapsulate blocking I/O in future-rs? - Stack Overflowstackoverflow.com
- TypeScript Structured Concurrencythecandidstartup.org