首页> 外文会议>Joint Modular Languages Conference(JMLC 2006); 20060913-15; Oxford(GB) >Efficient Layer Activation for Switching Context-Dependent Behavior
【24h】

Efficient Layer Activation for Switching Context-Dependent Behavior

机译:有效层激活,用于切换上下文相关的行为

获取原文
获取原文并翻译 | 示例

摘要

Today's programming platforms do not provide sufficient constructs that allow a program's behavior to depend on the context in which it is executing. This paper presents the design and implementation of programming language extensions that explicitly support our vision of Context-oriented Programming. In this model, programs can be partitioned into layers that can be dynamically activated and deactivated depending on their execution context. Layers are sets of partial program definitions that can be composed in any order. Context-oriented Programming encourages rich, dynamic modifications of program behavior at runtime, requiring an efficient implementation. We present a dynamic representation of layers that yields competitive performance characteristics for both layer activation/deactivation and overall program execution. We illustrate the performance of our implementation by providing an alternative solution for one of the prominent examples of aspect-oriented programming.
机译:当今的编程平台没有提供足够的构造,这些构造不允许程序的行为依赖于其执行的上下文。本文介绍了编程语言扩展的设计和实现,这些编程语言扩展明确支持我们对面向上下文编程的愿景。在此模型中,可以将程序划分为多个层,这些层可以根据其执行上下文进行动态激活和停用。层是可以以任何顺序组成的部分程序定义的集合。面向上下文的编程鼓励在运行时对程序行为进行丰富的动态修改,这需要有效的实现。我们展示了层的动态表示,它为层激活/停用和整体程序执行提供了竞争性能。我们通过为面向方面的编程的杰出示例之一提供替代解决方案来说明实现的性能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号