Sciweavers

CEFP
2005
Springer

Exploiting Purely Functional Programming to Obtain Bounded Resource Behaviour: The Hume Approach

14 years 6 months ago
Exploiting Purely Functional Programming to Obtain Bounded Resource Behaviour: The Hume Approach
This chapter describes Hume: a functionally-based language for programming with bounded resource usage, including time and space properties. The purpose of the Hume language design is to explore the expressibility/costability spectrum in resource-constrained systems, such as real-time embedded or control systems. It is unusual in being based on a combination of λ-calculus and finite state machine notions, rather than the more usual propositional logic, or flat finite-state-machine models. The use of a strict, purely functional programming notation allows the construction of a strong cost model for expressions, which can then be embedded into a simple cost model for processes. In this chapter, we introduce Hume, describe the Hume Abstract Machine implementation, and show how a high-level cost model can be conthat relates costs from the abstract machine to Hume source programs. We illustrate our approach with an example adapted from the literature: a simple vending machine controller...
Kevin Hammond
Added 26 Jun 2010
Updated 26 Jun 2010
Type Conference
Year 2005
Where CEFP
Authors Kevin Hammond
Comments (0)