An architecture for generic extensions

被引:1
|
作者
Oancea, Cosmin E. [1 ]
Watt, Stephen M. [2 ]
机构
[1] Texas A&M Univ, Dept Comp Sci & Engn, College Stn, TX 77843 USA
[2] Univ Western Ontario, Dept Comp Sci, London, ON N6A 5B7, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Generics; C plus plus templates; Software component architecture; Middleware; Curiously reoccurring template pattern (CRTP); Type members;
D O I
10.1016/j.scico.2009.09.008
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We examine what is necessary to allow generic libraries to be used naturally in a multi-language, potentially distributed environment. Language-neutral library interfaces usually do not support the full range of programming idioms that are available when a library is used natively. We investigate how to structure the language bindings of the neutral interface to achieve a better expressibility and code re-use. We furthermore address how language-neutral interfaces can be extended with import bindings to recover the desired programming idioms. We also address the question of how these extensions can be organized to minimize the performance overhead that arises from using objects in manners not anticipated by the original library designers. Our approach is to treat a library as a software component and to view the problem as one of component extension. We use C++ as an example of a mature language, with libraries using a variety of patterns, and use the Standard Template Library as an example of a complex library for which efficiency is important. By viewing the library extension problem as one of component organization, we enhance software composibility, hierarchy maintenance and architecture independence. (c) 2009 Elsevier B.V. All rights reserved.
引用
收藏
页码:258 / 277
页数:20
相关论文
共 50 条
  • [41] On generic extensions of representations of a Dynkin quiver of type A
    Chen, JR
    SCIENCE IN CHINA SERIES A-MATHEMATICS, 2005, 48 (08): : 1083 - 1096
  • [42] Generic formal fibers of polynomial ring extensions
    Loepp, S
    Rotthaus, C
    ROCKY MOUNTAIN JOURNAL OF MATHEMATICS, 2004, 34 (01) : 253 - 262
  • [43] On generic extensions of representations of a Dynkin quiver of typeA
    Jiangrong Chen
    Science in China Series A: Mathematics, 2005, 48 : 1083 - 1096
  • [44] Involutions, odd degree extensions and generic splitting
    Black, Jodi
    Queguiner-Mathieu, Anne
    ENSEIGNEMENT MATHEMATIQUE, 2014, 60 (3-4): : 377 - 395
  • [45] Architecture of a generic vehicle controller
    de Graaf, AJ
    IV'2002: IEEE INTELLIGENT VEHICLE SYMPOSIUM, PROCEEDINGS, 2002, : 77 - 80
  • [46] Architecture and applications of generic disc
    Wang, M
    Kim, S
    Wei, GM
    OPTICAL DATA STORAGE 2004, 2004, 5380 : 619 - 626
  • [47] A generic architecture for a companion robot
    Steunebrink, Bas R.
    Vergunst, Nieske L.
    Mol, Christian P.
    Dignum, Frank P. M.
    Dastani, Mehdi
    Meyer, John-Jules Ch.
    ICINCO 2008: PROCEEDINGS OF THE FIFTH INTERNATIONAL CONFERENCE ON INFORMATICS IN CONTROL, AUTOMATION AND ROBOTICS, VOL RA-2: ROBOTICS AND AUTOMATION, VOL 2, 2008, : 315 - 321
  • [48] A Generic Architecture for Surveillance Systems
    Jungert, Erland
    Gronwall, Christina
    Hallberg, Niklas
    Kylesten, Birgitta
    Lantz, Fredrik
    Eriksson, Lars
    16TH INTERNATIONAL CONFERENCE ON DISTRIBUTED MULTIMEDIA SYSTEMS (DMS 2010), 2010, : 57 - 63
  • [49] A generic arthroscopy simulator architecture
    Wills, DPM
    Abblard, E
    Sherman, KP
    MEDICINE MEETS VIRTUAL REALITY 02/10: DIGITAL UPGRADES: APPLYING MOORES LAW TO HEALTH, 2002, 85 : 573 - 579
  • [50] Architecture of a generic instructional planner
    Tan, ST
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 1996, 19 (03) : 265 - 274