2012
DOI: 10.1145/2398856.2364575
|View full text |Cite
|
Sign up to set email alerts
|

Automatic amortised analysis of dynamic memory allocation for lazy functional programs

Abstract: This paper describes the first successful attempt, of which we are aware, to define an automatic, type-based static analysis of resource bounds for lazy functional programs. Our analysis uses the automatic amortisation approach developed by Hofmann and Jost, which was previously restricted to eager evaluation. In this paper, we extend this work to a lazy setting by capturing the costs of unevaluated expressions in type annotations and by amortising the payment of these costs using a notion of lazy potential. W… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
16
0

Year Published

2013
2013
2018
2018

Publication Types

Select...
2
2
1

Relationship

2
3

Authors

Journals

citations
Cited by 5 publications
(16 citation statements)
references
References 45 publications
0
16
0
Order By: Relevance
“…A significant difference from our previous work [3] lies in the typing of letexpressions. Typing let x = e 1 in e 2 allows lower costs for the bound variable x within the recursively-defined expression e 1 .…”
Section: Type and Effect Analysismentioning
confidence: 56%
See 4 more Smart Citations
“…A significant difference from our previous work [3] lies in the typing of letexpressions. Typing let x = e 1 in e 2 allows lower costs for the bound variable x within the recursively-defined expression e 1 .…”
Section: Type and Effect Analysismentioning
confidence: 56%
“…For concreteness, we choose to bound the number of heap allocations performed by a standard operational semantics for lazy evaluation. The work presented here complements our previous analysis for lazy functional programs [3]. We have previously shown that amortisation allows cost bounds to be determined for recursive definitions over finite data, but also that it does not contribute to the analysis of co-recursion over infinite data.…”
Section: Introductionmentioning
confidence: 70%
See 3 more Smart Citations