Journal article icon

Journal article

Generic programming in 3D

Abstract:
Support for generic programming consists of three essential ingredients: support for overloaded functions, a run-time type representation, and a generic view on data. Different approaches to datatype-generic programming occupy different points in this design space. In this article, we revisit the "Scrap your boilerplate" approach and identify its location within the three-dimensional design space. The characteristic features of "Scrap your boilerplate" are its two generic views, the 'spine' view for consuming and transforming data, and the ‘type-spine’ view for producing data. We show how to combine these views with different overloading mechanisms and type representations.
Publication status:
Published
Peer review status:
Peer reviewed

Actions

Access Document

Files:
Publisher copy:
10.1016/j.scico.2007.10.006

Authors

More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Computer Science
Role:
Author


Deutsche Forschungsgemeinschaft More from this funder
Grant:
HI 669/7-2


Publisher:
Elsevier
Journal:
Science of Computer Programming More from this journal
Volume:
74
Issue:
8
Pages:
590-628
Publication date:
2009-06-01
DOI:
ISSN:
0167-6423


Keywords:
Pubs id:
328820
UUID:
uuid:3b18813b-087c-47d9-9e2d-f57b437bd6c6
Local pid:
pubs:328820
Source identifiers:
328820
Deposit date:
2012-12-19
ARK identifier:

Terms of use


Views and Downloads

Views and downloads will return soon






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP