Design of the CodeBoost transformation system for domain-specific optimisation of C++ programs

被引:26
|
作者
Bagge, OS
Kalleberg, KT
Haveraaen, M
Visser, E
机构
关键词
D O I
10.1109/SCAM.2003.1238032
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The use of a high-level, abstract coding style can greatly increase developer productivity. For numerical software, this can result in drastically reduced run-time performance. High-level, domain-specific optimisations can eliminate much of the overhead caused by an abstract coding style, but current compilers have poor support for domain specific optimisation. In this paper we present CodeBoost, a source-to-source transformation tool for domain-specific optimisation of C++ programs. CodeBoost performs parsing, semantic analysis and pretty-printing, and transformations can be implemented either in the Stratego program transformation language, or as user-defined rewrite rules embedded within the C++ program. CodeBoost has been used with great success to optimise numerical applications written in the Sophus high-level coding style. We discuss the overall design of the CodeBoost transformation framework, and take a closer look at two important features of CodeBoost: user-defined rules and totem annotations. We also show briefly how CodeBoost is used to optimise Sophus code, resulting in applications that run twice as fast, or more.
引用
收藏
页码:65 / 74
页数:10
相关论文
共 50 条
  • [21] Designing Domain-Specific Heterogeneous Architectures from Dataflow Programs
    Savas, Suleyman
    Ul-Abdin, Zain
    Nordstrom, Tomas
    COMPUTERS, 2018, 7 (02)
  • [22] Design and implementation of domain-specific cognitive system based on question similarity algorithm
    Huang, Weidong
    Xiao, Xiang
    Xu, Mengqiang
    COGNITIVE SYSTEMS RESEARCH, 2019, 57 : 20 - 24
  • [23] Domain-specific design of a non-destructive health monitoring expert system
    Kang, SJ
    Chien, SI
    EXPERT SYSTEMS WITH APPLICATIONS, 1998, 14 (03) : 385 - 397
  • [24] Automatic design patterns identification of C++ programs
    Espinoza, FAC
    Esquer, GN
    Cansino, JS
    EURASIA-ICT 2002: INFORMATION AND COMMUNICATION TECHNOLOGY, PROCEEDINGS, 2002, 2510 : 816 - 823
  • [25] Enhancing Performance Monitoring in C/C plus plus Programs with EDPM: A Domain-Specific Language for Performance Monitoring
    Holmqvist, David Weisskopf
    Memeti, Suejb
    EURO-PAR 2023: PARALLEL PROCESSING WORKSHOPS, PT I, EURO-PAR 2023, 2024, 14351 : 110 - 122
  • [26] Domain-Specific Languages in a Customs Information System
    Freudenthal, Margus
    IEEE SOFTWARE, 2010, 27 (02) : 65 - 71
  • [27] DSEL: A Domain-Specific Entity Linking System
    Zhang, Xinru
    Xu, Huifang
    Cao, Yixin
    Tan, Yuanpeng
    Hou, Lei
    Li, Juanzi
    Shi, Jiaxin
    SEMANTIC TECHNOLOGY, JIST 2019: PROCEEDINGS, 2020, 12032 : 146 - 161
  • [28] Foundations for an Expert System in Domain-Specific Traceability
    Guo, Jin
    Cleland-Huang, Jane
    Berenbach, Brian
    2013 21ST IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE (RE), 2013, : 42 - 51
  • [29] Specifying Domain-Specific Refactorings for AndroMDA Based on Graph Transformation
    Taentzer, Gabriele
    Mueller, Dirk
    Mens, Tom
    APPLICATIONS OF GRAPH TRANSFORMATIONS WITH INDUSTRIAL RELEVANCE, 2008, 5088 : 104 - +
  • [30] Graph Transformation for Domain-Specific Discrete Event Time Simulation
    de Lara, Juan
    Guerra, Esther
    Boronat, Artur
    Heckel, Reiko
    Torrini, Paolo
    GRAPH TRANSFORMATIONS, 2010, 6372 : 266 - +