Nominal and Structural Subtyping in Component-Based Programming

被引:9
|
作者
Ostermann, Klaus [1 ]
机构
[1] Univ Aarhus, Comp Sci, Aarhus, Denmark
来源
JOURNAL OF OBJECT TECHNOLOGY | 2008年 / 7卷 / 01期
关键词
D O I
10.5381/jot.2008.7.1.a4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In nominal type systems, the subtype relation is between names of types, and subtype links are explicitly declared. In structural type systems, names are irrelevant; in determining type compatibility, only the structure of types is considered, and a type name is just an abbreviation for the full type. We analyze structural and different flavors of nominal subtyping from the perspective of component-based programming, where issues such as blame assignment and modular extensibility are important. Our analysis puts various existing subtyping mechanisms into a common frame of reference and delineates the frontiers of the subtyping design space. In addition, we propose a new subtyping definition in one particularly interesting corner of the design space which combines the safety of nominal subtyping with the flexibility of structural subtyping.
引用
收藏
页码:121 / 145
页数:25
相关论文
共 50 条
  • [32] Component-Based Grid Programming Using the HOC-Service Architecture
    Duennweber, Jan
    Gorlatch, Sergei
    [J]. NEW TRENDS IN SOFTWARE METHODOLOGIES, TOOLS AND TECHNIQUES, 2005, 129 : 311 - 329
  • [33] OpenAlea: a visual programming and component-based software platform for plant modelling
    Pradal, Christophe
    Dufour-Kowalski, Samuel
    Boudon, Frederic
    Fournier, Christian
    Godin, Christophe
    [J]. FUNCTIONAL PLANT BIOLOGY, 2008, 35 (9-10) : 751 - 760
  • [34] A Component-Based Diffusion Model With Structural Diversity for Social Networks
    Bao, Qing
    Cheung, William K.
    Zhang, Yu
    Liu, Jiming
    [J]. IEEE TRANSACTIONS ON CYBERNETICS, 2017, 47 (04) : 1078 - 1089
  • [35] Synthesizing structural and behavioral control for reconfigurations in component-based systems
    Khakpour, Narges
    Arbab, Farhad
    Rutten, Eric
    [J]. FORMAL ASPECTS OF COMPUTING, 2016, 28 (01) : 21 - 43
  • [36] COMPONENT-BASED SOFTWARE DEVELOPMENT, APPLICATIONS TO STRUCTURAL MOLECULAR BIOLOGY
    Sanner, M.
    [J]. ACTA CRYSTALLOGRAPHICA A-FOUNDATION AND ADVANCES, 2002, 58 : C218 - C218
  • [37] Study of the Subtyping Machine of Nominal Subtyping with Variance
    Roth, Ori
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2021, 5 (OOPSLA):
  • [38] Component-based simulation
    Chen, G
    Szymanski, BK
    [J]. MODELLING AND SIMULATION 2001, 2001, : 68 - 75
  • [39] Component-Based Software
    [J]. P C Magazine: The Independent Guide to IBM - Standard Personal Computers, 16 (08):
  • [40] Component-based is architecture
    Waguespack, L
    Schiano, WT
    [J]. INFORMATION SYSTEMS MANAGEMENT, 2004, 21 (03) : 53 - 60