Staged generic programming
View / Open Files
Authors
Yallop, J
Publication Date
2017Journal Title
Proceedings of the ACM on Programming Languages
ISSN
2475-1421
Publisher
Association for Computing Machinery (ACM)
Volume
1
Issue
ICFP
Pages
1-29
Language
en
Type
Article
Metadata
Show full item recordCitation
Yallop, J. (2017). Staged generic programming. Proceedings of the ACM on Programming Languages, 1 (ICFP), 1-29. https://doi.org/10.1145/3110273
Abstract
<jats:p>Generic programming libraries such as Scrap Your Boilerplate eliminate the need to write repetitive code, but typically introduce significant performance overheads.</jats:p>
<jats:p>This leaves programmers with the regrettable choice between writing succinct but slow programs and writing tedious but efficient programs.</jats:p>
<jats:p>Applying structured multi-stage programming techniques transforms Scrap Your Boilerplate from an inefficient library into a typed optimising code generator, bringing its performance in line with hand-written code, and so combining high-level programming with uncompromised performance.</jats:p>
Keywords
multi-stage programming, generic programming, metaprogramming, partial evaluation
Identifiers
External DOI: https://doi.org/10.1145/3110273
This record's URL: https://www.repository.cam.ac.uk/handle/1810/284902
Statistics
Total file downloads (since January 2020). For more information on metrics see the
IRUS guide.
Recommended or similar items
The current recommendation prototype on the Apollo Repository will be turned off on 03 February 2023. Although the pilot has been fruitful for both parties, the service provider IKVA is focusing on horizon scanning products and so the recommender service can no longer be supported. We recognise the importance of recommender services in supporting research discovery and are evaluating offerings from other service providers. If you would like to offer feedback on this decision please contact us on: support@repository.cam.ac.uk