Quantitative Global Memory

03/15/2023
by   Sandra Alves, et al.
0

We show that recent approaches of static analysis based on quantitative typing systems can be extended to programming languages with global state. More precisely, we define a call-by-value language equipped with operations to access a global memory, together with a semantic model based on a (tight) multi-type system that captures exact measures of time and space related to evaluation of programs. We show that the type system is quantitatively sound and complete with respect to the original operational semantics of the language.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset