{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,9]],"date-time":"2026-06-09T08:41:55Z","timestamp":1780994515574,"version":"3.54.1"},"reference-count":58,"publisher":"Association for Computing Machinery (ACM)","issue":"PLDI","license":[{"start":{"date-parts":[[2023,6,6]],"date-time":"2023-06-06T00:00:00Z","timestamp":1686009600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["1751029, 2007998"],"award-info":[{"award-number":["1751029, 2007998"]}],"id":[{"id":"10.13039\/100000001","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":[[2023,6,6]]},"abstract":"<jats:p>\n            Batteryless energy-harvesting devices enable computing in inaccessible environments, at a cost to programmability and correctness. These devices operate intermittently as energy is available, using a recovery system to save and restore state. Some program tasks must execute atomically w.r.t. power failures, re-executing if power fails before completion. Any re-execution should typically be\n            <jats:italic>idempotent<\/jats:italic>\n            \u2014its behavior should match the behavior of a single execution. Thus, a key aspect of correct intermittent execution is identifying and recovering state causing undesired non-idempotence. Unfortunately, past intermittent systems take an ad-hoc approach, using unsound dataflow analyses or conservatively recovering all written state. Moreover, no prior work allows the programmer to directly specify idempotence requirements (including allowable non-idempotence).\n          <\/jats:p>\n          <jats:p>\n            We present curricle, the first\n            <jats:italic>type system<\/jats:italic>\n            approach to safe intermittence, for Rust. Type level reasoning allows programmers to express requirements and retains alias information crucial for sound analyses. Curricle uses information flow and type qualifiers to reject programs causing undesired non-idempotence. We implement Curricle\u2019s type system on top of Rust\u2019s compiler, evaluating the prototype on benchmarks from prior work. We find that Curricle benefits application programmers by allowing them to express idempotence requirements that are checked to be satisfied, and that targeting programs checked with Curricle allows intermittent system designers to write simpler recovery systems that perform better.\n          <\/jats:p>","DOI":"10.1145\/3591250","type":"journal-article","created":{"date-parts":[[2023,6,6]],"date-time":"2023-06-06T20:06:24Z","timestamp":1686081984000},"page":"736-760","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":10,"title":["A Type System for Safe Intermittent Computing"],"prefix":"10.1145","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0009-0004-6948-6683","authenticated-orcid":false,"given":"Milijana","family":"Surbatovich","sequence":"first","affiliation":[{"name":"Carnegie Mellon University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0001-1479-1574","authenticated-orcid":false,"given":"Naomi","family":"Spargo","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8160-349X","authenticated-orcid":false,"given":"Limin","family":"Jia","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4130-1099","authenticated-orcid":false,"given":"Brandon","family":"Lucia","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,6,6]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/2994551.2996542"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/3360573"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3139645.3139660"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1109\/TCAD.2016.2547919"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1109\/LES.2014.2371494"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3372799.3394365"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1109\/giots.2017.8016243"},{"key":"e_1_2_1_8_1","volume-title":"Integrity Considerations for Secure Computer Systems (esd-tr-76-372 ed.)","author":"Biba K. J.","unstructured":"K. J. Biba . 1977. Integrity Considerations for Secure Computer Systems (esd-tr-76-372 ed.) . MITRE Corp ., 66. K. J. Biba. 1977. Integrity Considerations for Secure Computer Systems (esd-tr-76-372 ed.). MITRE Corp., 66."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/1926385.1926447"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/3356250.3360033"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2983990.2983995"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3519939.3523445"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3494991"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/3371102"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/cgo.2013.6495002"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/2254064.2254120"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/360051.360056"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/3352460.3358277"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/1816038.1816012"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/268946.268976"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3131672.3131673"},{"key":"e_1_2_1_22_1","unstructured":"iota Biosciences. 2022. iota Biosciences. https:\/\/iota.bio\/ \t\t\t\t  iota Biosciences. 2022. iota Biosciences. https:\/\/iota.bio\/"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/3371109"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3158154"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3432191"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/3373376.3378476"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1109\/MICRO.2018.00029"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/3471440.3471446"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/2737924.2737978"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/3173162.3177154"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/3123939.3124533"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/3133920"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.5555\/3291168.3291178"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/3314221.3314613"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3385998"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/3417308.3430266"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/3462205"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/3192366.3192375"},{"key":"e_1_2_1_39_1","volume-title":"What is KickSat-2? https:\/\/www.nasa.gov\/ames\/kicksat Visited April 15th","author":"NASA.","year":"2022","unstructured":"NASA. 2019. What is KickSat-2? https:\/\/www.nasa.gov\/ames\/kicksat Visited April 15th , 2022 NASA. 2019. What is KickSat-2? https:\/\/www.nasa.gov\/ames\/kicksat Visited April 15th, 2022"},{"key":"e_1_2_1_40_1","unstructured":"Emil Njor and Hilmar G\u00fastafsson. 2021. Static Taint Analysis in Rust. Master\u2019s thesis. \t\t\t\t  Emil Njor and Hilmar G\u00fastafsson. 2021. Static Taint Analysis in Rust. Master\u2019s thesis."},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1109\/isca.2014.6853222"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1109\/mm.2015.46"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/3276507"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/3360561"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3051528.3051531"},{"key":"e_1_2_1_46_1","doi-asserted-by":"crossref","unstructured":"G. Ramalingam and Kapil Vaswani. 2013. Fault Tolerance via Idempotence. Principles of Programming Languages (POPL) January https:\/\/www.microsoft.com\/en-us\/research\/publication\/fault-tolerance-via-idempotence\/ \t\t\t\t  G. Ramalingam and Kapil Vaswani. 2013. Fault Tolerance via Idempotence. Principles of Programming Languages (POPL) January https:\/\/www.microsoft.com\/en-us\/research\/publication\/fault-tolerance-via-idempotence\/","DOI":"10.1145\/2429069.2429100"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.3390\/s18010172"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/3314221.3314583"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1109\/JSAC.2002.806121"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/3453483.3454081"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/3428231"},{"key":"e_1_2_1_52_1","volume-title":"Technical Report: A Type System for Safe Intermittent Computing. https:\/\/doi.org\/10.1184\/R1\/22583920","author":"Surbatovich Milijana","year":"2023","unstructured":"Milijana Surbatovich , Naomi Spargo , Limin Jia , and Brandon Lucia . 2023 . Technical Report: A Type System for Safe Intermittent Computing. https:\/\/doi.org\/10.1184\/R1\/22583920 10.1184\/R1 Milijana Surbatovich, Naomi Spargo, Limin Jia, and Brandon Lucia. 2023. Technical Report: A Type System for Safe Intermittent Computing. https:\/\/doi.org\/10.1184\/R1\/22583920"},{"key":"e_1_2_1_53_1","unstructured":"TI Inc.. 2014. Overview for MSP430FRxx FRAM. http:\/\/ti.com\/wolverine Visited July 28 2014 \t\t\t\t  TI Inc.. 2014. Overview for MSP430FRxx FRAM. http:\/\/ti.com\/wolverine Visited July 28 2014"},{"key":"e_1_2_1_54_1","volume-title":"Proceedings of OSDI\u201916: 12th USENIX Symposium on Operating Systems Design and Implementation. https:\/\/www.usenix.org\/conference\/osdi16\/technical-sessions\/presentation\/vanderwoude","author":"Der Woude Joel Van","year":"2016","unstructured":"Joel Van Der Woude and Matthew Hicks . 2016 . Intermittent computation without hardware support or programmer intervention . In Proceedings of OSDI\u201916: 12th USENIX Symposium on Operating Systems Design and Implementation. https:\/\/www.usenix.org\/conference\/osdi16\/technical-sessions\/presentation\/vanderwoude Joel Van Der Woude and Matthew Hicks. 2016. Intermittent computation without hardware support or programmer intervention. In Proceedings of OSDI\u201916: 12th USENIX Symposium on Operating Systems Design and Implementation. https:\/\/www.usenix.org\/conference\/osdi16\/technical-sessions\/presentation\/vanderwoude"},{"key":"e_1_2_1_55_1","volume-title":"Oxide: The Essence of Rust. https:\/\/doi.org\/10.48550\/ARXIV.1903.00982","author":"Weiss Aaron","year":"2019","unstructured":"Aaron Weiss , Olek Gierczak , Daniel Patterson , and Amal Ahmed . 2019 . Oxide: The Essence of Rust. https:\/\/doi.org\/10.48550\/ARXIV.1903.00982 10.48550\/ARXIV.1903.00982 Aaron Weiss, Olek Gierczak, Daniel Patterson, and Amal Ahmed. 2019. Oxide: The Essence of Rust. https:\/\/doi.org\/10.48550\/ARXIV.1903.00982"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/3274783.3274837"},{"key":"e_1_2_1_57_1","volume-title":"Immortal Threads: Multithreaded Event-driven Intermittent Computing on Ultra-Low-Power Microcontrollers. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22)","author":"Y\u0131ld\u0131z Eren","year":"2022","unstructured":"Eren Y\u0131ld\u0131z , Lijun Chen , and Kasim Sinan Y\u0131ld\u0131r\u0131m . 2022 . Immortal Threads: Multithreaded Event-driven Intermittent Computing on Ultra-Low-Power Microcontrollers. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22) . USENIX Association, Carlsbad, CA. 339\u2013355. isbn:978-1-939133-28-1 https:\/\/www.usenix.org\/conference\/osdi22\/presentation\/yildiz Eren Y\u0131ld\u0131z, Lijun Chen, and Kasim Sinan Y\u0131ld\u0131r\u0131m. 2022. Immortal Threads: Multithreaded Event-driven Intermittent Computing on Ultra-Low-Power Microcontrollers. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22). USENIX Association, Carlsbad, CA. 339\u2013355. isbn:978-1-939133-28-1 https:\/\/www.usenix.org\/conference\/osdi22\/presentation\/yildiz"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45309-1_4"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3591250","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3591250","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T16:47:47Z","timestamp":1750178867000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3591250"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,6,6]]},"references-count":58,"journal-issue":{"issue":"PLDI","published-print":{"date-parts":[[2023,6,6]]}},"alternative-id":["10.1145\/3591250"],"URL":"https:\/\/doi.org\/10.1145\/3591250","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,6,6]]},"assertion":[{"value":"2023-06-06","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}