{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T07:50:18Z","timestamp":1790927418806,"version":"4.1.0"},"reference-count":51,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA1","license":[{"start":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T00:00:00Z","timestamp":1775779200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/legalcode"}],"funder":[{"name":"NSF","award":["2348334"],"award-info":[{"award-number":["2348334"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,4,10]]},"abstract":"<jats:p>Statically enforcing safe resource management is challenging due to tensions between flexible lifetime dis-ciplines and expressive sharing patterns. Region-based systems offer lexically scoped regions under a stack discipline, wherein resources are managed in bulk. In many such systems, however, resources are second-class and can neither escape their scope nor be freely returned from functions. Ownership and linear type systems, such as Rust, offer first-class, non-lexical lifetimes with robust static guarantees, but rely on invariants that limit higher-order patterns and expressive sharing.<\/jats:p>\n                  <jats:p>In this work, we propose a type system that uniformly treats all heap-allocated resources under diverse lifetime, granularity, and sharing settings. Our system provides programmers with three allocation modes: (1) fresh allocation for first-class, non-lexical resources; (2) fresh allocation for second-class resources with lexically bounded lifetimes; and (3) coallocation that groups resources by shadow arenas for bulk tracking and deallocation. Regardless of mode, resources are represented uniformly at the type level, supporting generic abstraction and preserving the higher-order parametric nature of the language.<\/jats:p>\n                  <jats:p>\n                    Obtaining static safety in higher-order languages with flexible sharing is nontrivial. To address this, our solution builds on reachability types, and our extension adds the capability to track both individual and grouped resources, enables the expression of cyclic store structures, and allows the selective enforcing of stack lifetime discipline. These mechanisms are formalized in the\n                    <jats:inline-formula>\n                      <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" display=\"inline\">\n                        <mml:msubsup>\n                          <mml:mrow>\n                            <mml:mi mathvariant=\"normal\">A<\/mml:mi>\n                          <\/mml:mrow>\n                          <mml:mrow>\n                            <mml:mo>&lt;<\/mml:mo>\n                            <mml:mtext>:<\/mml:mtext>\n                          <\/mml:mrow>\n                          <mml:mrow>\n                            <mml:mo>\u2217<\/mml:mo>\n                          <\/mml:mrow>\n                        <\/mml:msubsup>\n                      <\/mml:math>\n                    <\/jats:inline-formula>\n                    and\n                    <jats:inline-formula>\n                      <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" display=\"inline\">\n                        <mml:mo fence=\"false\" stretchy=\"false\">{<\/mml:mo>\n                        <mml:mrow>\n                          <mml:mi mathvariant=\"normal\">A<\/mml:mi>\n                        <\/mml:mrow>\n                        <mml:msubsup>\n                          <mml:mo fence=\"false\" stretchy=\"false\">}<\/mml:mo>\n                          <mml:mrow>\n                            <mml:mo>&lt;<\/mml:mo>\n                            <mml:mtext>:<\/mml:mtext>\n                          <\/mml:mrow>\n                          <mml:mrow>\n                            <mml:mo>\u2217<\/mml:mo>\n                          <\/mml:mrow>\n                        <\/mml:msubsup>\n                      <\/mml:math>\n                    <\/jats:inline-formula>\n                    type systems, which are proven type safe and memory safe in Rocq.\n                  <\/jats:p>","DOI":"10.1145\/3798254","type":"journal-article","created":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T14:33:43Z","timestamp":1775831623000},"page":"1486-1513","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":2,"title":["When Lifetimes Liberate: A Type System for Arenas with Higher-Order Reachability Tracking"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0009-0002-7130-5592","authenticated-orcid":false,"given":"Siyuan","family":"He","sequence":"first","affiliation":[{"name":"Purdue University, West Lafayette, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-2526-0438","authenticated-orcid":false,"given":"Songlin","family":"Jia","sequence":"additional","affiliation":[{"name":"Purdue University, West Lafayette, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3832-3134","authenticated-orcid":false,"given":"Yuyan","family":"Bao","sequence":"additional","affiliation":[{"name":"Augusta University, Augusta, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2068-3238","authenticated-orcid":false,"given":"Tiark","family":"Rompf","sequence":"additional","affiliation":[{"name":"Purdue University, West Lafayette, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,4,10]]},"reference":[{"key":"e_1_3_1_2_1","doi-asserted-by":"publisher","unstructured":"Ellen Arvidsson Elias Castegren Sylvan Clebsch Sophia Drossopoulou James Noble Matthew J. Parkinson and Tobias Wrigstad. 2023. Reference Capabilities for Flexible Memory Management. Proc. ACM Program. Lang. 7 OOPSLA2 Article 270 (Oct. 2023) 31 pages. doi:10.1145\/3622846 10.1145\/3622846","DOI":"10.1145\/3622846"},{"key":"e_1_3_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/2485982"},{"key":"e_1_3_1_4_1","doi-asserted-by":"publisher","unstructured":"Yuyan Bao Songlin Jia Guannan Wei Oliver Bra\u010devac and Tiark Rompf. 2025. Modeling Reachability Types with Logical Relations: Semantic Type Soundness Termination Effect Safety and Equational Theory. Proc. ACM Program. Lang. 9 OOPSLA2 Article 338 (Oct. 2025) 28 pages. doi:10.1145\/3763116 10.1145\/3763116","DOI":"10.1145\/3763116"},{"key":"e_1_3_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/2786536.2786537"},{"key":"e_1_3_1_6_1","doi-asserted-by":"publisher","DOI":"10.1007\/S00165-018-0455-5"},{"key":"e_1_3_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/3485516"},{"key":"e_1_3_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/3618003"},{"key":"e_1_3_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/3622813"},{"key":"e_1_3_1_10_1","doi-asserted-by":"publisher","DOI":"10.5555\/2554511.2554516"},{"key":"e_1_3_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/286936.286947"},{"key":"e_1_3_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3133896"},{"key":"e_1_3_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3622841"},{"key":"e_1_3_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/91556.91622"},{"key":"e_1_3_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/3763172"},{"key":"e_1_3_1_16_1","unstructured":"Haotian Deng Siyuan He Songlin Jia Yuyan Bao and Tiark Rompf. 2025b. Free to Move: Reachability Types with Flow-Sensitive Effects for Safe Deallocation and Ownership Transfer. arXiv:2510.08939 [cs.PL] https:\/\/arxiv.org\/abs\/2510.08939"},{"key":"e_1_3_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/1016848.1016867"},{"key":"e_1_3_1_18_1","doi-asserted-by":"publisher","DOI":"10.1007\/11693024_2"},{"key":"e_1_3_1_19_1","article-title":"Implementation and Performance Evaluation of a Safe Runtime System in Cyclone","author":"Fluet Matthew","year":"2004","unstructured":"Matthew Fluet and Daniel Wang. 2004. Implementation and Performance Evaluation of a Safe Runtime System in Cyclone. In SPACE.","journal-title":"SPACE"},{"key":"e_1_3_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/277650.277748"},{"key":"e_1_3_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/378795.378815"},{"key":"e_1_3_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/3450272"},{"key":"e_1_3_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/543552.512563"},{"key":"e_1_3_1_24_1","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380200104"},{"key":"e_1_3_1_25_1","unstructured":"Siyuan He Songlin Jia Yuyan Bao and Tiark Rompf. 2025. When Lifetimes Liberate: A Type System for Arenas with Higher-Order Reachability Tracking. arXiv:2509.04253 [cs.PL] https:\/\/arxiv.org\/abs\/2509.04253"},{"key":"e_1_3_1_26_1","doi-asserted-by":"publisher","unstructured":"Siyuan He Songlin Jia Yuyan Bao and Tiark Rompf. 2026. When Lifetimes Liberate: A Type System for Arenas with Higher-Order Reachability Tracking (Artifact). doi:10.5281\/zenodo.18370268 10.5281\/zenodo.18370268","DOI":"10.5281\/zenodo.18370268"},{"key":"e_1_3_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/1029873.1029883"},{"key":"e_1_3_1_28_1","unstructured":"Songlin Jia Craig Liu Siyuan He Haotian Deng Yuyan Bao and Tiark Rompf. 2025a. Typestate via Revocable Capabilities. arXiv:2510.08889 [cs.PL] https:\/\/arxiv.org\/abs\/2510.08889"},{"key":"e_1_3_1_29_1","unstructured":"Songlin Jia Guannan Wei Siyuan He Yuyan Bao and Tiark Rompf. 2025b. Escape with Your Self: Sound and Expressive Bidirectional Typing with Avoidance for Reachability Types. arXiv:2404.08217 [cs.PL] https:\/\/arxiv.org\/abs\/2404.08217"},{"key":"e_1_3_1_30_1","volume-title":"The Rust Programming Language","author":"Klabnik Steve","year":"2019","unstructured":"Steve Klabnik and Carol Nichols. 2019. The Rust Programming Language. No Starch Press."},{"key":"e_1_3_1_31_1","unstructured":"Fengyun Liu Sandro Stucki Nada Amin Paolo Giosu\u00e8 Giarrusso and Martin Odersky. 2020. Stoic: Towards Disciplined Capabilities. https:\/\/infoscience.epfl.ch\/handle\/20.500.14299\/164482"},{"key":"e_1_3_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/612201.612243"},{"key":"e_1_3_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/3519939.3523443"},{"key":"e_1_3_1_34_1","doi-asserted-by":"crossref","unstructured":"Peter M\u00fcller and Arsenii Rudich. 2007. Ownership transfer in universe types. In OOPSLA. ACM 461\u2013478.","DOI":"10.1145\/1297027.1297061"},{"key":"e_1_3_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/3611096.3611097"},{"key":"e_1_3_1_36_1","doi-asserted-by":"crossref","unstructured":"James Noble Jan Vitek and John Potter. 1998. Flexible Alias Protection. In ECOOP (Lecture Notes in Computer Science Vol. 1445). Springer 158\u2013185.","DOI":"10.1007\/BFb0054091"},{"key":"e_1_3_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/3486610.3486893"},{"key":"e_1_3_1_38_1","article-title":"Scoped Capabilities for Polymorphic Effects","author":"Odersky Martin","year":"2022","unstructured":"Martin Odersky, Aleksander Boruch-Gruszecki, Edward Lee, Jonathan Immanuel Brachth\u00e4user, and Ondrej Lhot\u00e1k. 2022. Scoped Capabilities for Polymorphic Effects. CoRR abs\/2207.03402 (2022).","journal-title":"CoRR abs\/2207.03402"},{"key":"e_1_3_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/2983990.2984009"},{"key":"e_1_3_1_40_1","doi-asserted-by":"publisher","unstructured":"John C. Reynolds. 2002. Separation Logic: A Logic for Shared Mutable Data Structures. In 17th IEEE Symposium on Logic in Computer Science (LICS 2002) 22-25 July 2002 Copenhagen Denmark Proceedings. IEEE Computer Society 55\u201374. doi:10.1109\/LICS.2002.1029817 10.1109\/LICS.2002.1029817","DOI":"10.1109\/LICS.2002.1029817"},{"key":"e_1_3_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/3759427.3760373"},{"key":"e_1_3_1_42_1","unstructured":"Mads Tofte Lars Birkedal Martin Elsman Niels Hallenberg and Peter Sestoft. 2001. Programming with Regions in the ML Kit (for Version 4). (10 2001)."},{"key":"e_1_3_1_43_1","doi-asserted-by":"publisher","DOI":"10.1006\/inco.1996.2613"},{"key":"e_1_3_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/224164.224168"},{"key":"e_1_3_1_45_1","first-page":"1","article-title":"Reasoning about aliasing","volume":"3","author":"Utting Mark","year":"1997","unstructured":"Mark Utting. 1997. Reasoning about aliasing. Formal Aspects of Computing 3 (1997), 1\u201315.","journal-title":"Formal Aspects of Computing"},{"key":"e_1_3_1_46_1","first-page":"561","volume-title":"Programming Concepts and Methods","author":"Wadler Philip","year":"1990","unstructured":"Philip Wadler. 1990. Linear Types can Change the World!. In Programming Concepts and Methods. North-Holland, 561."},{"key":"e_1_3_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/601775.601776"},{"key":"e_1_3_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/507669.507658"},{"key":"e_1_3_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/3632856"},{"key":"e_1_3_1_50_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ECOOP.2022.15"},{"key":"e_1_3_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/3649853"},{"key":"e_1_3_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/3473597"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3798254","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3798254","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T11:19:14Z","timestamp":1790421554000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3798254"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,4,10]]},"references-count":51,"journal-issue":{"issue":"OOPSLA1","published-print":{"date-parts":[[2026,4,10]]}},"alternative-id":["10.1145\/3798254"],"URL":"https:\/\/doi.org\/10.1145\/3798254","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,4,10]]},"assertion":[{"value":"2025-10-10","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-02-17","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-10","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}