{"title":"Strong exception-safety for Java-like languages","authors":"M. Servetto","doi":"10.1145/1924520.1924523","DOIUrl":null,"url":null,"abstract":"\"Exception-safety strong guarantee: The operation has either completed successfully or thrown an exception, leaving the program state exactly as it was before the operation started.\" David Abrahams [1] The above definition of strong exception-safety comes from the world of C++, but it can be applied to any language.\n Because the exception-safety strong guarantee plays a central role in easing the development of robust software, we have designed a type-system able to capture its essence.\n We present a lightweight type system for Java-like languages that, by introducing a simple modifier to types, enforces programs to satisfy the strong guarantee.","PeriodicalId":212849,"journal":{"name":"Italian Conference on Theoretical Computer Science","volume":"557 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Italian Conference on Theoretical Computer Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1924520.1924523","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5
Abstract
"Exception-safety strong guarantee: The operation has either completed successfully or thrown an exception, leaving the program state exactly as it was before the operation started." David Abrahams [1] The above definition of strong exception-safety comes from the world of C++, but it can be applied to any language.
Because the exception-safety strong guarantee plays a central role in easing the development of robust software, we have designed a type-system able to capture its essence.
We present a lightweight type system for Java-like languages that, by introducing a simple modifier to types, enforces programs to satisfy the strong guarantee.