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 条
  • [1] Models for design: Generating code for associations
    Rumbaugh, J
    JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1996, 8 (09): : 13 - 17
  • [2] Generating Code for Associations Supporting Operations on Multiple Instances
    Goldberg, Mayer
    Wiener, Guy
    EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2011, 230 : 163 - 177
  • [3] SOFT - Generating highly flexible object code from XML specifications
    Butler, Alun
    Bacon, Liz
    Ibrahim, Mohamed
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2003, 2736 : 8 - 17
  • [4] SOFT - Generating highly flexible object code from XML specifications
    Butler, A
    Bacon, L
    Ibrahim, M
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2003, 2736 : 8 - 17
  • [5] Model to text transformation in practice:: Generating code from rich associations specifications
    Albert, Manoli
    Munoz, Javier
    Pelechano, Vicente
    Pastor, Oscar
    ADVANCES IN CONCEPTUAL MODELING - THEORY AND PRACTICE, PROCEEDINGS, 2006, 4231 : 63 - +
  • [6] Dynamite: A flexible code generating language for dynamic programming methods used in sequence comparison
    Birney, E
    Durbin, R
    ISMB-97 - FIFTH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS FOR MOLECULAR BIOLOGY, PROCEEDINGS, 1997, : 56 - 64
  • [7] Generating code that works
    Allcock, Vndrew, 1600, Findlay Publications Ltd (172):
  • [8] Yet Another Intelligent Code-Generating System: A Flexible and Low-Cost Solution
    Fabricio Filho, Joao
    Araujo Rodriguez, Luis Gustavo
    da Silva, Anderson Faustino
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2018, 33 (05) : 940 - 965
  • [9] Yet Another Intelligent Code-Generating System: A Flexible and Low-Cost Solution
    João Fabrício Filho
    Luis Gustavo Araujo Rodriguez
    Anderson Faustino da Silva
    Journal of Computer Science and Technology, 2018, 33 : 940 - 965
  • [10] Dynamically Generating FFT Code
    Anthony Blake
    Matt Hunter
    Journal of Signal Processing Systems, 2014, 76 : 275 - 281