Proceedings of the 37th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages 2010
DOI: 10.1145/1706299.1706327
|View full text |Cite
|
Sign up to set email alerts
|

Static determination of quantitative resource usage for higher-order programs

Abstract: We describe a new automatic static analysis for determining upper-bound functions on the use of quantitative resources for strict, higher-order, polymorphic, recursive programs dealing with possibly-aliased data. Our analysis is a variant of Tarjan's manual amortised cost analysis technique. We use a type-based approach, exploiting linearity to allow inference, and place a new emphasis on the number of references to a data object. The bounds we infer depend on the sizes of the various inputs to a program. They… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
45
0

Year Published

2010
2010
2020
2020

Publication Types

Select...
5
3
1

Relationship

0
9

Authors

Journals

citations
Cited by 80 publications
(45 citation statements)
references
References 34 publications
0
45
0
Order By: Relevance
“…In particular, a static analysis based on our approach could be made by compiling a source program into an abstract program with respect to resource consumption. Here, we follow ideas suggested in [20] and [23]. Then, the complexity of a source program could be obtained from a type inference algorithms.…”
Section: Discussionmentioning
confidence: 99%
See 1 more Smart Citation
“…In particular, a static analysis based on our approach could be made by compiling a source program into an abstract program with respect to resource consumption. Here, we follow ideas suggested in [20] and [23]. Then, the complexity of a source program could be obtained from a type inference algorithms.…”
Section: Discussionmentioning
confidence: 99%
“…Jost, Hammond, Loidl & Hofmann [23] work on automatic amortized cost analysis using type systems, which is related to the study of non-size increasing systems. Hughes, Pareto & Sabry [24] propose sized types in order to determine bound on data structure sizes.…”
Section: Related Workmentioning
confidence: 99%
“…Jost et al [2010] describe a formalism that automatically infers linear resource bounds for higher-order programs, provided that the input program does in fact have a linear resource cost. Hoffmann and Hofmann [2010] and Hoffmann et al [2012] extend this work to handle polynomial bounds, though for first-order programs only, and Hoffmann and Shao [2015] extend it to parallel programs.…”
Section: Related Workmentioning
confidence: 99%
“…In contrast, we infer bounds. [22] uses linear programming to infer bounds for functional programs, but they are restricted to computing only linear bounds.…”
Section: Comparison With Related Workmentioning
confidence: 99%