Generic programming in 3D

被引:9
|
作者
Hinze, Ralf [1 ]
Loh, Andres [2 ]
机构
[1] Univ Bonn, Inst Informat 3, D-53117 Bonn, Germany
[2] Univ Utrecht, Dept Informat & Comp Sci, NL-3508 TB Utrecht, Netherlands
关键词
Generic programming; Type classes; Haskell; 98; Language design; BOILERPLATE; SCRAP; HASKELL;
D O I
10.1016/j.scico.2007.10.006
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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. (C) 2009 Elsevier B.V. All rights reserved.
引用
收藏
页码:590 / 628
页数:39
相关论文
共 50 条
  • [1] GENERIC INTEGER LINEAR PROGRAMMING FORMULATION FOR 3D IC PARTITIONING
    Jiang, Iris Hui-Ru
    [J]. IEEE INTERNATIONAL SOC CONFERENCE, PROCEEDINGS, 2009, : 321 - 324
  • [2] Generic Integer Linear Programming Formulation for 3D IC Partitioning
    Lee, Wan-Yu
    Jiang, Iris Hui-Ru
    Mei, Tsung-Wan
    [J]. JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2012, 28 (06) : 1129 - 1144
  • [3] On the use of 3D metaphor in programming
    Hopkins, JF
    Fishwick, PA
    [J]. ENABLING TECHNOLOGY FOR SIMULATION SCIENCE IV, 2000, 4026 : 59 - 69
  • [4] Programming structure into 3D nanomaterials
    Van Gough, Dara
    Juhl, Abigail T.
    Braun, Paul V.
    [J]. MATERIALS TODAY, 2009, 12 (06) : 28 - 35
  • [5] Harmonic Filters for Generic Feature Detection in 3D
    Reisert, Marco
    Burkhardt, Hans
    [J]. PATTERN RECOGNITION, PROCEEDINGS, 2009, 5748 : 131 - +
  • [6] Generic 3D Convolutional Fusion for Image Restoration
    Wu, Jiqing
    Timofte, Radu
    Gool, Luc Van
    [J]. COMPUTER VISION - ACCV 2016 WORKSHOPS, PT I, 2017, 10116 : 159 - 176
  • [7] A generic 3D kinetic model of gene expression
    Zhdanov, Vladimir P.
    [J]. CENTRAL EUROPEAN JOURNAL OF PHYSICS, 2012, 10 (02): : 533 - 537
  • [8] GENERIC CONTROLLABILITY OF 3D SWIMMERS IN A PERFECT FLUID
    Chambrion, Thomas
    Munnier, Alexandre
    [J]. SIAM JOURNAL ON CONTROL AND OPTIMIZATION, 2012, 50 (05) : 2814 - 2835
  • [9] Generic 3D swimmers in a perfect fluid are controllable
    Chambrion, Thomas
    Munnier, Alexandre
    [J]. 2012 AMERICAN CONTROL CONFERENCE (ACC), 2012, : 4351 - 4356
  • [10] Programming Printers Printed by 3D Printers
    Garner, Gavin T.
    [J]. 2013 ASEE ANNUAL CONFERENCE, 2013,