首页    期刊浏览 2024年07月08日 星期一
登录注册

文章基本信息

  • 标题:A Calculus of Evolving Objects
  • 本地全文:下载
  • 作者:M. Dezani-Ciancaglini ; P. Giannini ; O. Nierstrasz
  • 期刊名称:Scientific Annals of Computer Science
  • 印刷版ISSN:1843-8121
  • 出版年度:2008
  • 卷号:XVIII
  • 页码:63-98
  • 出版社:Alexandru Ioan Cuza University of Iasi
  • 摘要:The demands of developing modern, highly dynamic applications have led to an increasing interest in dynamic programming languages and mechanisms. Not only must applications evolve over time, but the object models themselves may need to be adapted to the requirements of different run-time contexts. Class-based models and prototype-based models, for example, may need to co-exist to meet the demands of dynamically evolving applications. Multi-dimensional dispatch, fine-grained and dynamic software composition, and run-time evolution of behaviour are further examples of diverse mechanisms which may need to co-exist in a dynamically evolving run-time environment. How can we model the semantics of these highly dynamic features, yet still offer some reasonable safety guarantees?

    To this end we present an original calculus in which objects can adapt their behaviour at run-time. Both objects and environments are represented by first-class mappings between variables and values. Message sends are dynamically resolved to method calls. Variables may be dynamically bound, making it possible to model a variety of dynamic mechanisms within the same calculus. Despite the highly dynamic nature of the calculus, safety properties are assured by a type assignment system

国家哲学社会科学文献中心版权所有