Back to Search Start Over

A resource semantics and abstract machine for Safe: A functional language with regions and explicit deallocation.

Authors :
Montenegro, Manuel
Peña, Ricardo
Segura, Clara
Source :
Information & Computation. Apr2014, Vol. 235, p3-35. 33p.
Publication Year :
2014

Abstract

Abstract: In this paper we summarise Safe, a first-order functional language for programming small devices and embedded systems with strict memory requirements, which has been introduced elsewhere. It has some unusual memory management features such as heap regions and explicit cell deallocation. It is targeted at a Proof Carrying Code environment, and consistently with this aim the Safe compiler provides machine checkable certificates about important safety properties such as the absence of dangling pointers and bounded memory consumption. The kernel of the paper is devoted to developing part of the Safe compiler's back-end, by deriving an appropriate abstract machine from the language semantics, by providing the code generation functions, and by formally proving that the translation is sound, both in the semantic and in the memory consumption senses. [Copyright &y& Elsevier]

Details

Language :
English
ISSN :
08905401
Volume :
235
Database :
Academic Search Index
Journal :
Information & Computation
Publication Type :
Academic Journal
Accession number :
94870419
Full Text :
https://doi.org/10.1016/j.ic.2014.01.003