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 条
  • [41] Component-Based Semantics
    Mosses, Peter D.
    [J]. EIGHTH WORKSHOP ON SPECIFICATION AND VERIFICATION OF COMPONENT-BASED SYSTEMS-SAVCBS 2009, 2009, : 3 - 10
  • [42] Component-based learning
    Morley, T
    [J]. DR DOBBS JOURNAL, 1997, 22 (10): : 12 - 12
  • [43] New component-based reliability model to predict the reliability of component-based software
    Tomar D.
    Tomar P.
    [J]. International Journal of Reliability and Safety, 2019, 13 (1-2) : 83 - 95
  • [44] Case study: Implementing a web based auction system using UML and component-based programming
    Sheldon, FT
    Jerath, K
    Kwon, YJ
    Baik, YW
    [J]. 26TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, PROCEEDINGS, 2002, : 211 - 216
  • [45] Enabling Dynamic Selection of Implementation Variants in Component-Based Parallel Programming for Heterogeneous Systems
    Memeti, Suejb
    [J]. EURO-PAR 2023: PARALLEL PROCESSING WORKSHOPS, PT I, EURO-PAR 2023, 2024, 14351 : 219 - 231
  • [46] The component balancer: Optimization of component-based applications
    Fontana, J
    [J]. INTERNATIONAL CONFERENCE ON AUTONOMIC COMPUTING, PROCEEDINGS, 2004, : 338 - 339
  • [47] Optimal Component Selection for Component-Based Systems
    Khan, Muhammad Ali
    Mahmood, Sajjad
    [J]. INNOVATIONS IN COMPUTING SCIENCES AND SOFTWARE ENGINEERING, 2010, : 467 - 472
  • [48] Component-based face detection
    Heisele, B
    Serre, T
    Pontil, M
    Poggio, T
    [J]. 2001 IEEE COMPUTER SOCIETY CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, VOL 1, PROCEEDINGS, 2001, : 657 - 662
  • [49] Composition for component-based modeling
    Gössler, G
    Sifakis, J
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2005, 55 (1-3) : 161 - 183
  • [50] Component-based enterprise frameworks
    Larsen, G
    [J]. COMMUNICATIONS OF THE ACM, 2000, 43 (10) : 25 - 26