GENERATING FLEXIBLE CODE FOR ASSOCIATIONS

被引:0
|
作者
Goldberg, Mayer [1 ]
Wiener, Guy [1 ]
机构
[1] Ben Gurion Univ Negev, Dept Comp Sci, 1 Ben Gurion Blvd, Beer Sheva, Israel
关键词
Associations; Code generation; Model-driven Architecture; Meta-programming;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Generating code for associations is one of the most fundamental requirements from a model-based code generator. There are several approaches for implementing associations, ranging from using basic collections frameworks to using a database. The choice between them derive from the current requirements of the software: Whether parallelism, caching or persistency required for a relation. Hard-coding a specific design choice makes it difficult to alter it later. In this work, we propose a scheme that allows for automatic code generations of associations with different features, without requiring manual changes to the code. These features include using indices, traversing the association in parallel, or using an external database. Instead of the sequential iterator interface, we propose to use an interface that is based on operations over collections, such as Foreach, Filter, Map and Fold. This interface allows for writing operations that traverse the association without being dependent on the implementation details of the generated code.
引用
收藏
页码:96 / 104
页数:9
相关论文
共 50 条
  • [41] Generating Java']Java code pairing with ChatGPT
    Zhao, Zelong
    Zhang, Nan
    Yu, Bin
    Duan, Zhenhua
    THEORETICAL COMPUTER SCIENCE, 2024, 1021
  • [42] Generating Cancelable Fingerprint Using Drawing Code
    Arya, K. V.
    Singh, Saurabh
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFT COMPUTING FOR PROBLEM SOLVING (SOCPROS 2011), VOL 2, 2012, 131 : 189 - +
  • [43] Efficient computation of trellis code generating functions
    Shi, J
    Wesel, RD
    IEEE TRANSACTIONS ON COMMUNICATIONS, 2004, 52 (02) : 219 - 227
  • [44] Generating Customized Verifiers for Automatically Generated Code
    Denney, Ewen
    Fischer, Bernd
    GPCE'08: PROCEEDINGS OF THE ACM SIGPLAN SEVENTH INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING AND COMPONENT ENGINEERING, 2008, : 77 - 87
  • [45] Generating Pseudo-Code from Source Code Using Deep Learning
    Alhefdhi, Abdulaziz
    Dam, Hoa Khanh
    Hata, Hideaki
    Ghose, Aditya
    2018 25TH AUSTRALASIAN SOFTWARE ENGINEERING CONFERENCE (ASWEC), 2018, : 21 - 25
  • [46] Acting in the network: ANT and the politics of generating associations
    Routledge, Paul
    ENVIRONMENT AND PLANNING D-SOCIETY & SPACE, 2008, 26 (02): : 199 - 217
  • [47] SPY: A flexible code profiling framework
    Bergel, Alexandre
    Banados, Felipe
    Robbes, Romain
    Roethlisberger, David
    COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2012, 38 (01) : 16 - 28
  • [48] Flexible generation of Kalman filter code
    Richardson, Julian
    Wilson, Edward
    2006 IEEE AEROSPACE CONFERENCE, VOLS 1-9, 2006, : 3166 - +
  • [49] pix2code: Generating Code from a Graphical User Interface Screenshot
    Beltramelli, Tony
    PROCEEDINGS OF THE ACM SIGCHI SYMPOSIUM ON ENGINEERING INTERACTIVE COMPUTING SYSTEMS (EICS'18), 2018,
  • [50] Generating self-scheduling code for nonloop parallelism
    Beckmann, CJ
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1996, 39 (02) : 126 - 145