Metraipolis › archive › dc_2a590236bdf8

A Design Space Exploration of Async/Await — arXiv:2608.20677

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.20677
License (as archived)
CC0-1.0
Archived
2026-10-18T11:03:20.444Z
SHA-256 of the archived text
d5da0948f17f30637fe93f11df47e0245712e29649a027de1eb3ff824fc6f95e
Stable URL of this page
https://metraipolis.com/documento/dc_2a590236bdf8

How to cite

A Design Space Exploration of Async/Await — arXiv:2608.20677 — arXiv (en), https://arxiv.org/abs/2608.20677 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_2a590236bdf8 (Metraipolis archive dc_2a590236bdf8, sha256 d5da0948f17f30637fe93f11df47e0245712e29649a027de1eb3ff824fc6f95e)
BibTeX
@misc{dc2a590236bdf8,
  title = {A Design Space Exploration of Async/Await — arXiv:2608.20677},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.20677},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_2a590236bdf8; sha256 d5da0948f17f30637fe93f11df47e0245712e29649a027de1eb3ff824fc6f95e},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.20677. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Many modern programming languages include some form of asynchronous programming. In particular, a growing number now have what we call straight-line asynchrony: attempts to provide asynchronous functions that look similar to synchronous functions, thereby enabling asynchrony without introducing complex control. These languages often share construct names like "async" and "await," which suggests that they have deep semantic similarities. Yet, a close examination reveals that these languages are quite different along several dimensions, often subtly. These differences have real semantic consequences: similar-looking programs can exhibit divergent behavior, confusing developers and language designers alike. This paper therefore presents a design space exploration of straight-line asynchrony. We dissect several existing languages, and show how no two of them agree as a whole on design decisions that affect the presence and ordering of execution. We articulate a design space with nine dimensions covering the full lifecycle of an asynchronous computation, covering questions such as: What precise guarantees does a language give upon calling an asynchronous function? What happens at the end of a task's life? How can a task handle being cancelled? We explore these questions through concrete examples, informal design discussion, and a formal semantics. Our ultimate goal is to help programmers, language designers, and language theorists all better understand the emerging landscape of straight-line asynchrony.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-24 in cs.PL).
Categorie arXiv: Programming Languages (cs.PL).
Pagina del lavoro: https://arxiv.org/abs/2608.20677 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T10:59:42.996Z dalla pagina https://arxiv.org/catchup/cs.PL/2026-08-24?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).