Sciweavers

EMSOFT
2003
Springer

Generating Heap-Bounded Programs in a Functional Setting

14 years 4 months ago
Generating Heap-Bounded Programs in a Functional Setting
Abstract. High-level programming languages offer significant expressivity but provide little or no guarantees about resource utilization. Resource-bounded languages provide strong guarantees about the runtime behavior of programs but often lack mechanisms that allow programmers to write more structured, modular, and reusable programs. To overcome this basic tension in language design, this paper advocates taking into account the natural distinction between the development platform and the deployment platform for resource-sensitive software. To illustrate this approach, we develop the meta-theory for GeHB, a twolevel language in which first stage computations can involve arbitrary resource consumption, but the second stage can only involve functional programs that do not require new heap allocations. As an example of a such a second-stage language we use the recently proposed first-order functional language LFPL. LFPL can be compiled directly to mallocfree, imperative C code. We sho...
Walid Taha, Stephan Ellner, Hongwei Xi
Added 06 Jul 2010
Updated 06 Jul 2010
Type Conference
Year 2003
Where EMSOFT
Authors Walid Taha, Stephan Ellner, Hongwei Xi
Comments (0)