Projects per year
Abstract
Partial evaluation aims to improve the efficiency of a program by specialising it with respect to some known inputs. In this paper, we show that partial evaluation can be an effective and, unusually, easy to use technique for the efficient implementation of embedded domain-specific languages. We achieve this by exploiting dependent types and by following some simple rules in the definition of the interpreter for the domain-specific language. We present experimental evidence that partial evaluation of programs in domain-specific languages can yield efficient residual programs whose performance is competitive with their Java and C equivalents and which are also, through the use of dependent types, verifiably resource-safe. Using our technique, it follows that a verifiably correct and resource-safe program can also be an efficient program.
Original language | English |
---|---|
Title of host publication | ICFP '10 |
Subtitle of host publication | Proceedings of the 15th ACM SIGPLAN international conference on Functional programming |
Publisher | ACM |
Pages | 297-308 |
Number of pages | 12 |
ISBN (Print) | 978-1-60558-794-3 |
DOIs | |
Publication status | Published - 2010 |
Event | ICFP 2010 - The 15th ACM SIGPLAN International Conference on Functional Programming - Baltimore, United States Duration: 27 Sept 2010 → 29 Sept 2010 |
Conference
Conference | ICFP 2010 - The 15th ACM SIGPLAN International Conference on Functional Programming |
---|---|
Country/Territory | United States |
City | Baltimore |
Period | 27/09/10 → 29/09/10 |
Fingerprint
Dive into the research topics of 'Scrapping your inefficient engine: using partial evaluation to improve domain-specific language implementation'. Together they form a unique fingerprint.Projects
- 1 Finished
-
EP/F030657/1 Adaptive Hardware Systems: Copy of Adaptive Hardware Systems with Novel Algorithmic Design and Guaranteed Resource Bounds
Hammond, K. (PI)
1/09/08 → 31/08/11
Project: Standard