{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,24]],"date-time":"2026-07-24T06:18:20Z","timestamp":1784873900072,"version":"3.55.0"},"reference-count":37,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2021,1,4]],"date-time":"2021-01-04T00:00:00Z","timestamp":1609718400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100000780","name":"European Commission","doi-asserted-by":"publisher","award":["834146"],"award-info":[{"award-number":["834146"]}],"id":[{"id":"10.13039\/501100000780","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000181","name":"Air Force Office of Scientific Research","doi-asserted-by":"publisher","award":["FA9550-17-1-0326"],"award-info":[{"award-number":["FA9550-17-1-0326"]}],"id":[{"id":"10.13039\/100000181","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2021,1,4]]},"abstract":"<jats:p>\n                    We explore asynchronous programming with algebraic effects. We complement their conventional synchronous treatment by showing how to naturally also accommodate asynchrony within them, namely, by decoupling the execution of operation calls into signalling that an operation\u2019s implementation needs to be executed, and interrupting a running computation with the operation\u2019s result, to which the computation can react by installing interrupt handlers. We formalise these ideas in a small core calculus, called \u03bb\n                    <jats:sub>\u00e6<\/jats:sub>\n                    . We demonstrate the flexibility of \u03bb\n                    <jats:sub>\u00e6<\/jats:sub>\n                    \u00a0using examples ranging from a multi-party web application, to preemptive multi-threading, to remote function calls, to a parallel variant of runners of algebraic effects. In addition, the paper is accompanied by a formalisation of \u03bb\n                    <jats:sub>\u00e6<\/jats:sub>\n                    \u2019s type safety proofs in Agda, and a prototype implementation of \u03bb\n                    <jats:sub>\u00e6<\/jats:sub>\n                    \u00a0in OCaml.\n                  <\/jats:p>","DOI":"10.1145\/3434305","type":"journal-article","created":{"date-parts":[[2021,1,4]],"date-time":"2021-01-04T12:34:24Z","timestamp":1609763664000},"page":"1-28","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":6,"title":["Asynchronous effects"],"prefix":"10.1145","volume":"5","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6595-2756","authenticated-orcid":false,"given":"Danel","family":"Ahman","sequence":"first","affiliation":[{"name":"University of Ljubljana, Slovenia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7755-2303","authenticated-orcid":false,"given":"Matija","family":"Pretnar","sequence":"additional","affiliation":[{"name":"University of Ljubljana, Slovenia"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,1,4]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"D. Ahman. 2020. Agda formalisation of the ae-calculus. Available at https:\/\/github.com\/danelahman\/aef-agda\/releases\/ tag\/popl-2021."},{"key":"e_1_2_1_2_1","first-page":"29","volume-title":"Proc. of 29th European Symp. on Programming, ESOP 2020 (LNCS","volume":"12075","author":"Ahman D.","unstructured":"D. Ahman and A. Bauer. 2020. Runners in action. In Proc. of 29th European Symp. on Programming, ESOP 2020 (LNCS, Vol. 12075 ). Springer, 29-55."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","unstructured":"D. Ahman and M. Pretnar. 2020. Software artefact for the POPL 2021 paper \"Asynchronous Efects\". Available at https: \/\/doi.org\/10.5281\/zenodo.4072753. 10.5281\/zenodo.4072753","DOI":"10.5281\/zenodo.4072753"},{"key":"e_1_2_1_4_1","volume-title":"Domains and Lambda Calculi","author":"Amadio R. M.","unstructured":"R. M. Amadio and P-L. Curien. 1998. Domains and Lambda Calculi. Cambridge University Press."},{"key":"e_1_2_1_5_1","volume-title":"Proc. ACM Program. Lang. 3, ICFP ( 2019 ), 109 : 1-109 : 27","author":"Bahr P.","unstructured":"P. Bahr, C. Graulund, and R. E. Mogelberg. 2019. Simply RaTT: a fitch-style modal calculus for reactive programming without space leaks. Proc. ACM Program. Lang. 3, ICFP ( 2019 ), 109 : 1-109 : 27."},{"key":"e_1_2_1_6_1","doi-asserted-by":"crossref","unstructured":"A. Bauer and M. Pretnar. 2014. An Efect System for Algebraic Efects and Handlers. Logical Methods in Computer Science 10 4 ( 2014 ).","DOI":"10.2168\/LMCS-10(4:9)2014"},{"key":"e_1_2_1_7_1","article-title":"Programming with algebraic efects and handlers","volume":"84","author":"Bauer A.","year":"2015","unstructured":"A. Bauer and M. Pretnar. 2015. Programming with algebraic efects and handlers. J. Log. Algebr. Meth. Program. 84, 1 ( 2015 ), 108-123.","journal-title":"J. Log. Algebr. Meth. Program."},{"key":"e_1_2_1_8_1","volume-title":"Proc. of 41st Ann. ACM SIGPLAN-SIGACT Symp. on Principles of Programming Languages, POPL 2014. ACM, 619-632","author":"Benton N.","unstructured":"N. Benton, M. Hofmann, and V. Nigam. 2014. Abstract efects and proof-relevant logical relations. In Proc. of 41st Ann. ACM SIGPLAN-SIGACT Symp. on Principles of Programming Languages, POPL 2014. ACM, 619-632."},{"key":"e_1_2_1_9_1","volume-title":"Proc. ACM Program. Lang. 3, POPL ( 2019 ), 6 : 1-6 : 28","author":"Biernacki D.","unstructured":"D. Biernacki, M. Pir\u00f3g, P. Polesiuk, and F. Sieczkowski. 2019. Abstracting Algebraic Efects. Proc. ACM Program. Lang. 3, POPL ( 2019 ), 6 : 1-6 : 28."},{"key":"e_1_2_1_10_1","first-page":"1","article-title":"Pyro: Deep Universal Probabilistic Programming","volume":"20","author":"Bingham E.","year":"2019","unstructured":"E. Bingham, J. P. Chen, M. Jankowiak, F. Obermeyer, N. Pradhan, T. Karaletsos, R. Singh, P. Szerlip, P. Horsfall, and N. D. Goodman. 2019. Pyro: Deep Universal Probabilistic Programming. J. Mach. Learn. Res. 20, 1 (Jan. 2019 ), 973-978.","journal-title":"J. Mach. Learn. Res."},{"key":"e_1_2_1_11_1","doi-asserted-by":"crossref","unstructured":"L. Convent S. Lindley C. McBride and C. McLaughlin. 2020. Doo bee doo bee doo. J. Funct. Program. 30 ( 2020 ) e9.","DOI":"10.1017\/S0956796820000039"},{"key":"e_1_2_1_12_1","volume-title":"Proc. of 18th Int. Sym. Trends in Functional Programming, TFP 2017. Springer, 98-117","author":"Dolan S.","unstructured":"S. Dolan, S. Eliopoulos, D. Hillerstr\u00f6m, A. Madhavapeddy, K. C. Sivaramakrishnan, and L. White. 2018. Concurrent System Programming with Efect Handlers. In Proc. of 18th Int. Sym. Trends in Functional Programming, TFP 2017. Springer, 98-117."},{"key":"e_1_2_1_13_1","volume-title":"Proc. of 23rd ACM SIGPLAN-SIGACT Symp. on Principles of Programming Languages, POPL'96. ACM, 372-385","author":"Fournet C.","unstructured":"C. Fournet and G. Gonthier. 1996. The Reflexive CHAM and the Join-Calculus. In Proc. of 23rd ACM SIGPLAN-SIGACT Symp. on Principles of Programming Languages, POPL'96. ACM, 372-385."},{"key":"e_1_2_1_14_1","doi-asserted-by":"crossref","unstructured":"G. Gierz K. H. Hofmann K. Keimel J. D. Lawson M. Mislove and D. S. Scott. 2003. Continuous Lattices and Domains. Number 93 in Encyclopedia of Mathematics and its Applications. Cambridge University Press.","DOI":"10.1017\/CBO9780511542725"},{"key":"e_1_2_1_15_1","unstructured":"P. Haller A. Prokopec H. Miller V. Klang R. Kuhn and V. Jovanovic. 2020. Scala documentation: Futures and Promises. ( July 2020 ). Available online at https:\/\/docs.scala-lang.org\/overviews\/core\/futures.html."},{"key":"e_1_2_1_16_1","first-page":"235","volume-title":"Proc. of 3rd Int. Joint Conf. on Artificial Intelligence, IJCAI' 73","author":"Hewitt C.","unstructured":"C. Hewitt, P. Bishop, and R. Steiger. 1973. A Universal Modular ACTOR Formalism for Artificial Intelligence. In Proc. of 3rd Int. Joint Conf. on Artificial Intelligence, IJCAI' 73. Morgan Kaufmann Publishers Inc., 235-245."},{"key":"e_1_2_1_17_1","first-page":"122","volume-title":"Proc. of 7th European Symp. on Programming, ESOP 1998 (LNCS","volume":"1381","author":"Honda K.","unstructured":"K. Honda, V. T. Vasconcelos, and M. Kubo. 1998. Language Primitives and Type Discipline for Structured CommunicationBased Programming. In Proc. of 7th European Symp. on Programming, ESOP 1998 (LNCS, Vol. 1381 ). Springer, 122-138."},{"key":"e_1_2_1_18_1","volume-title":"Proc. of 18th ACM SIGPLAN Int. Conf. on Functional Programming, ICFP 2013. ACM, 145-158","author":"Kammar O.","unstructured":"O. Kammar, S. Lindley, and N. Oury. 2013. Handlers in Action. In Proc. of 18th ACM SIGPLAN Int. Conf. on Functional Programming, ICFP 2013. ACM, 145-158."},{"key":"e_1_2_1_19_1","volume-title":"Proc. of 39th ACM SIGPLAN-SIGACT Symp. on Principles of Programming Languages, POPL 2012. ACM, 349-360","author":"Kammar O.","unstructured":"O. Kammar and G. D. Plotkin. 2012. Algebraic foundations for efect-dependent optimisations. In Proc. of 39th ACM SIGPLAN-SIGACT Symp. on Principles of Programming Languages, POPL 2012. ACM, 349-360."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/2500365.2500588"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3122975.3122977"},{"key":"e_1_2_1_22_1","doi-asserted-by":"crossref","unstructured":"P. B. Levy J. Power and H. Thielecke. 2003. Modelling environments in call-by-value programming languages. Inf. Comput. 185 2 ( 2003 ) 182-210.","DOI":"10.1016\/S0890-5401(03)00088-9"},{"key":"e_1_2_1_23_1","volume-title":"Proc. of 44th ACM SIGPLAN Symp. on Principles of Programming Languages, POPL 2017. ACM, 500-514","author":"Lindley S.","unstructured":"S. Lindley, C. McBride, and C. McLaughlin. 2017. Do Be Do Be Do. In Proc. of 44th ACM SIGPLAN Symp. on Principles of Programming Languages, POPL 2017. ACM, 500-514."},{"key":"e_1_2_1_24_1","doi-asserted-by":"crossref","unstructured":"R. Milner J. Parrow and D. Walker. 1992. A calculus of mobile processes I. Inf. Comput. 100 1 ( 1992 ) 1-40.","DOI":"10.1016\/0890-5401(92)90008-4"},{"key":"e_1_2_1_25_1","unstructured":"T. Murphy VII. 2008. Modal Types for Mobile Code. Ph.D. Dissertation. Carnegie Mellon University."},{"key":"e_1_2_1_26_1","volume-title":"Proc. of 33rd Annual ACM\/IEEE Symp. on Logic in Computer Science, LICS 2018. ACM, 809-818","author":"Pir\u00f3g M.","unstructured":"M. Pir\u00f3g, T. Schrijvers, N. Wu, and M. Jaskeliof. 2018. Syntax and Semantics for Operations with Scopes. In Proc. of 33rd Annual ACM\/IEEE Symp. on Logic in Computer Science, LICS 2018. ACM, 809-818."},{"key":"e_1_2_1_27_1","volume-title":"Conf. on Concurrency Theory, CONCUR","author":"Plotkin G. D.","year":"2012","unstructured":"G. D. Plotkin. 2012. Concurrency and the algebraic theory of efects. ( 2012 ). Invited talk at the 23rd Int. Conf. on Concurrency Theory, CONCUR 2012."},{"key":"e_1_2_1_28_1","first-page":"342","volume-title":"Proc. of 5th Int. Conf. on Foundations of Software Science and Computation Structures, FOSSACS 2002 (LNCS","volume":"2303","author":"Plotkin G. D.","unstructured":"G. D. Plotkin and J. Power. 2002. Notions of Computation Determine Monads. In Proc. of 5th Int. Conf. on Foundations of Software Science and Computation Structures, FOSSACS 2002 (LNCS, Vol. 2303 ). Springer, 342-356."},{"key":"e_1_2_1_29_1","volume-title":"Proc. of 23th Ann. IEEE Symp. on Logic in Computer Science, LICS 2008. IEEE, 118-129","author":"Plotkin G. D.","unstructured":"G. D. Plotkin and M. Pretnar. 2008. A Logic for Algebraic Efects. In Proc. of 23th Ann. IEEE Symp. on Logic in Computer Science, LICS 2008. IEEE, 118-129."},{"key":"e_1_2_1_30_1","doi-asserted-by":"crossref","unstructured":"G. D. Plotkin and M. Pretnar. 2013. Handling Algebraic Efects. Logical Methods in Computer Science 9 4 : 23 ( 2013 ).","DOI":"10.2168\/LMCS-9(4:23)2013"},{"key":"e_1_2_1_31_1","volume-title":"Asynchronous Efect Handling. Master's thesis. School of Informatics","author":"Poulson L.","unstructured":"L. Poulson. 2020. Asynchronous Efect Handling. Master's thesis. School of Informatics, University of Edinburgh."},{"key":"e_1_2_1_32_1","doi-asserted-by":"crossref","unstructured":"M. Pretnar. 2015. An Introduction to Algebraic Efects and Handlers. Invited tutorial paper. Electr. Notes Theor. Comput. Sci. 319 ( 2015 ) 19-35.","DOI":"10.1016\/j.entcs.2015.12.003"},{"key":"e_1_2_1_33_1","unstructured":"M. Pretnar. 2020. Programming language \u00c6ff. Available at https:\/\/github.com\/matijapretnar\/aef\/releases\/tag\/popl-2021."},{"key":"e_1_2_1_34_1","unstructured":"J. Schwinghammer. 2002. A Concurrent Lambda-Calculus with Promises and Futures. Master's thesis. Programming Systems Lab Universit\u00e4t des Saarlandes."},{"key":"e_1_2_1_35_1","volume-title":"Proc. of 28th Ann. ACM\/IEEE Symp. on Logic in Computer Science, LICS 2013. IEEE, 519-519","author":"Staton S.","year":"2013","unstructured":"S. Staton. 2013. Instances of Computational Efects: An Algebraic Perspective. In Proc. of 28th Ann. ACM\/IEEE Symp. on Logic in Computer Science, LICS 2013. IEEE, 519-519."},{"key":"e_1_2_1_36_1","volume-title":"Proc. of 42nd Annual ACM SIGPLANSIGACT Symp. on Principles of Programming Languages, POPL 2015. ACM, 395-406","author":"Staton S.","year":"2015","unstructured":"S. Staton. 2015. Algebraic Efects, Linearity, and Quantum Programming Languages. In Proc. of 42nd Annual ACM SIGPLANSIGACT Symp. on Principles of Programming Languages, POPL 2015. ACM, 395-406."},{"key":"e_1_2_1_37_1","doi-asserted-by":"crossref","unstructured":"A. K. Wright and M. Felleisen. 1994. A Syntactic Approach to Type Soundness. Information and Computation 115 1 ( 1994 ) 38-94.","DOI":"10.1006\/inco.1994.1093"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3434305","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3434305","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3434305","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,19]],"date-time":"2026-06-19T07:28:51Z","timestamp":1781854131000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3434305"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,1,4]]},"references-count":37,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2021,1,4]]}},"alternative-id":["10.1145\/3434305"],"URL":"https:\/\/doi.org\/10.1145\/3434305","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,1,4]]},"assertion":[{"value":"2021-01-04","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}