z-logo
open-access-imgOpen Access
Resource Usage Analysis for the π-Calculus
Author(s) -
Naoki Kobayashi,
Kohei Suenaga,
Lucian Wischik
Publication year - 2005
Publication title -
lecture notes in computer science
Language(s) - English
Resource type - Book series
SCImago Journal Rank - 0.249
H-Index - 400
eISSN - 1611-3349
pISSN - 0302-9743
ISBN - 3-540-31139-4
DOI - 10.1007/11609773_20
Subject(s) - computer science , programmer , type inference , resource (disambiguation) , type (biology) , programming language , property (philosophy) , extension (predicate logic) , inference , theoretical computer science , calculus (dental) , algorithm , artificial intelligence , medicine , computer network , ecology , philosophy , dentistry , epistemology , biology
We propose a type-based resource usage analysis for the (pi)-calculus extended with resource creation/access primitives. The goal of the resource usage analysis is to statically check that a program accesses resources such as files and memory in a valid manner. Our type system is an extension of previous behavioral type systems for the pi-calculus, and can guarantee the safety property that no invalid access is performed, as well as the property that necessary accesses (such as the close operation for a file) are eventually performed unless the program diverges. A sound type inference algorithm for the type system is also developed to free the programmer from the burden of writing complex type annotations. Based on the algorithm, we have implemented a prototype resource usage analyzer for the π-calculus. To the authors' knowledge, ours is the first type-based resource usage analysis that deals with an expressive concurrent language like the π-calculus.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom