{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T08:58:29Z","timestamp":1790413109645,"version":"4.1.0"},"reference-count":26,"publisher":"Association for Computing Machinery (ACM)","issue":"ICFP","license":[{"start":{"date-parts":[[2026,8,17]],"date-time":"2026-08-17T00:00:00Z","timestamp":1786924800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,8,17]]},"abstract":"<jats:p>\n                    This article extends tail-call optimisation by applying it to asynchronous calls. We first introduce\n                    <jats:italic toggle=\"yes\">Tail-Modulo-Await<\/jats:italic>\n                    , a novel code transformation for asynchronous tail recursive functions that prevents the creation of unnecessary tasks. We then show how to combine Tail-Modulo-Await with the existing Tail-Modulo-Cons optimisation; we obtain an optimisation able to turn a recursive function with multiple tail calls under constructors into a parallel version of the function, also optimised in space.\n                  <\/jats:p>\n                  <jats:p>We formalise both optimisations over representative calculi, and prove them correct through backward simulations. Finally, we provide a proof-of-concept implementation as an OCaml syntax extension and evaluate it experimentally, showing our approach optimises both memory and execution time.<\/jats:p>","DOI":"10.1145\/3828684","type":"journal-article","created":{"date-parts":[[2026,8,17]],"date-time":"2026-08-17T20:23:46Z","timestamp":1786998226000},"page":"337-364","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Tail Modulo Async-Await"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0009-0004-2942-8761","authenticated-orcid":false,"given":"Emma","family":"Nardino","sequence":"first","affiliation":[{"name":"ENS Lyon, Univ Lyon, UCBL, CNRS, Inria, LIP, Lyon, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7137-3523","authenticated-orcid":false,"given":"Ludovic","family":"Henrio","sequence":"additional","affiliation":[{"name":"CNRS, Univ Lyon, ENS Lyon, UCBL, Inria, LIP, Lyon, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2107-7678","authenticated-orcid":false,"given":"Gabriel","family":"Radanne","sequence":"additional","affiliation":[{"name":"Inria, Univ Lyon, ENS Lyon, UCBL, CNRS, LIP, Lyon, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4585-6470","authenticated-orcid":false,"given":"Yannick","family":"Zakowski","sequence":"additional","affiliation":[{"name":"Inria, Paris, France"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,8,17]]},"reference":[{"key":"e_1_3_2_2_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jlap.2009.01.001"},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","DOI":"10.7551\/mitpress\/1086.001.0001"},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","unstructured":"Aditya Agrawal and V. Krishna Nandivada. 2023. UWOmppro: UWOmp++ with Point-to-Point Synchronization Reduction and Schedules. In 2023 32nd International Conference on Parallel Architectures and Compilation Techniques (PACT). 27\u201338. doi:10.1109\/PACT58117.2023.00011","DOI":"10.1109\/PACT58117.2023.00011"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/3704915"},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","DOI":"10.1145\/3302516.3307360"},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","unstructured":"Martin Andrieux Ludovic Henrio and Gabriel Radanne. 2024. Active Objects based on Algebraic Effects. In Active Object Languages: Current Research Trends. Lecture Notes in Computer Science Vol. 14360. 3\u201336. doi:10.1007\/978-3-031-51060-1_1","DOI":"10.1007\/978-3-031-51060-1_1"},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.1145\/800228.806932"},{"key":"e_1_3_2_9_2","article-title":"An Optimised Flow for Futures: From Theory to Practice","volume":"2107","author":"Chappe Nicolas","year":"2021","unstructured":"Nicolas Chappe, Ludovic Henrio, Amaury Maill\u00e9, Matthieu Moy, and Hadrien Renaud. 2021. An Optimised Flow for Futures: From Theory to Practice. CoRR abs\/2107.07298 (2021). arXiv:2107.07298 https:\/\/arxiv.org\/abs\/2107.07298","journal-title":"CoRR"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/3122848"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","unstructured":"Kiko Fernandez-Reyes Dave Clarke Elias Castegren and Huu-Phuc Vo. 2018. Forward to a Promising Future. In Conference proceedings COORDINATION 2018. doi:10.1007\/978-3-319-92408-3_7","DOI":"10.1007\/978-3-319-92408-3_7"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ECOOP.2019.2"},{"key":"e_1_3_2_13_2","doi-asserted-by":"crossref","unstructured":"Kiko Fernandez-Reyes Dave Clarke and Daniel S. McCain. 2016. ParT: An Asynchronous Parallel Abstraction for Speculative Pipeline Computations. In Proc. 18th IFIP WG 6.1 Intl. Conf. on Coordination Models and Languages (COORDINATION 2016) Alberto Lluch-Lafuente and Jos\u00e9 Proen\u00e7a (Eds.). Vol. 9686. 101\u2013120.","DOI":"10.1007\/978-3-319-39519-7_7"},{"key":"e_1_3_2_14_2","unstructured":"Daniel P Friedman and David S Wise. 1975. Unwinding stylized recursions into iterations. Comput. Sci. Dep. Indiana University Bloomington IN Tech. Rep 19 (1975)."},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1145\/3498689"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2008.09.019"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.FSCD.2017.18"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-44202-9_25"},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10270-006-0011-2"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1145\/3571233"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/53990.54016"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","unstructured":"Gabriel Radanne Yannick Zakowski Ludovic Henrio and Emma Nardino. 2026. Tail Modulo Async-Await. doi:10.5281\/zenodo.20510324","DOI":"10.5281\/zenodo.20510324"},{"key":"e_1_3_2_23_2","unstructured":"Tore Risch. 1973. REMREC - A program for Automatic Recursion Removal. https:\/\/api.semanticscholar.org\/CorpusID:60315470"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3122948.3122949"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/800179.810196"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/231379.231392"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796897002967"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3828684","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T08:11:36Z","timestamp":1790410296000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3828684"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,8,17]]},"references-count":26,"journal-issue":{"issue":"ICFP","published-print":{"date-parts":[[2026,8,17]]}},"alternative-id":["10.1145\/3828684"],"URL":"https:\/\/doi.org\/10.1145\/3828684","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,8,17]]},"assertion":[{"value":"2026-02-19","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-05-13","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-08-17","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}