首页> 外文会议>6th USENIX Conference on Object-Oriented Technologies and Systems Jan 29-Feb 2, 2001 San Antonio, Texas, USA >Using Accessory Functions to Generalize Dynamic Dispatch in Single-Dispatch Object-Oriented Languages
【24h】

Using Accessory Functions to Generalize Dynamic Dispatch in Single-Dispatch Object-Oriented Languages

机译:使用附件函数以单调度面向对象语言概括动态调度

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

摘要

Object oriented languages generally include some form of dynamic dispatch; that is, in the absence of precise compile-time type information, they perform a run-time selection of the appropriate function body (or method) from a set of candidates. Existing single-dispatch languages restrict dynamic dispatch to the object receiving the message. Such languages exhibit a conflict between the goals of providing an extensible a set of types and providing an extensible the set of operations that can be performed on these types. We show that this conflict is a consequence of the restriction of dynamic dispatch to the receiver object. We also demonstrate that this conflict can be resolved by introducing a generalized form of single dispatch (thus avoiding the complexity of multiple dispatch). On this evidence, we argue that dispatch technique should be decoupled from membership in a class and access to its representation.
机译:面向对象的语言通常包括某种形式的动态调度。也就是说,在没有精确的编译时类型信息的情况下,它们会从一组候选对象中执行适当的函数体(或方法)的运行时选择。现有的单调度语言将动态调度限制为接收消息的对象。此类语言在提供一组可扩展类型的目标与提供可对这些类型执行的一组可扩展操作的目标之间表现出冲突。我们表明,此冲突是由于动态调度到接收方对象的限制而导致的。我们还证明,可以通过引入通用形式的单次调度来解决此冲突(从而避免了多次调度的复杂性)。根据这一证据,我们认为调度技术应该与类中的成员资格以及其表示形式无关。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号