EFFICIENT EXECUTION OF PROGRAMS WITH STATIC SEMANTICS

Citation
G. Becker et Nv. Murray, EFFICIENT EXECUTION OF PROGRAMS WITH STATIC SEMANTICS, ACM SIGPLAN NOTICES, 30(4), 1995, pp. 51-60
Citations number
34
Categorie Soggetti
Computer Sciences","Computer Science Software Graphycs Programming
Journal title
Volume
30
Issue
4
Year of publication
1995
Pages
51 - 60
Database
ISI
SICI code
Abstract
An extension to single-threading (using each value exactly once) is pr esented that allows efficient execution of functional programs while m aintaining their static semantics. This extension preserves the idea o f only one, possibly modifying, use of a data item, and also allows an y number of read-only uses. The inefficiency problem is overcome by im posing a restriction on function composition. The proposed method is b ased upon a static analysis of function definitions and calls. This an alysis is linear in the size of function definitions, and additive bet ween functions. Unlike approaches utilized in optimizing compilers, th e proposed method can be applied even to large programs, and it guaran tees the asymptotic complexity of corresponding imperative programs wh ile obviating the need for garbage collection. An experimental functio nal programming language based on these ideas have been designed and i mplemented.