An extension of the λ-calculus is proposed, to study resource usage analysis and verification. Resources can be dynamically created, and passed / returned by functions; their usages have side effects, represented by events. Usage policies are properties over histories of events, and have a possibly nested, local scope. A type and effect system over-approximates the set of histories a program can generate at run-time. A crucial point solved here concerns correctly associating fresh resources with their usages within approximations. A second issue is that these approximations may contain an unbounded number of fresh resources. Despite of that, we have devised a technique to model-check validity of approximations. A program with a valid approximation is resource-safe: no run-time monitor is needed to safely drive its executions. © Springer-Verlag Berlin Heidelberg 2007.
CITATION STYLE
Bartoletti, M., Degano, P., Ferrari, G. L., & Zunino, R. (2007). Types and effects for resource usage analysis. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 4423 LNCS, pp. 32–47). Springer Verlag. https://doi.org/10.1007/978-3-540-71389-0_4
Mendeley helps you to discover research relevant for your work.