首页> 外文期刊>Computing >Efficient Execution of Pure Object-Oriented Programs by Follow-up Compilation
【24h】

Efficient Execution of Pure Object-Oriented Programs by Follow-up Compilation

机译:通过后续编译有效地执行纯面向对象的程序

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

摘要

Dynamic type checking and method binding slows pure object-oriented programs such as those written in Smalltalk. Dynamic method lookup is needed to support method overriding and type-method conformance. We have developed a platform independent technique that implements method overriding efficiently for pure object-oriented languages. The technique involves binding non-overridden method calls at compile time. The overridden method calls are also resolved (and bound) statically using simple inferences. Overridden method bindings are corrected dynamically using an Overridden Method Dictionary. Using simulations, we demonstrate that this technique offers 35%-70% reduction in the average method lookup delay over the Berkeley Smalltalk implementation. This technique has very low compile time overhead, memory overhead, does not need specialized hardware and allows shared code pages in concurrent programs. For programs which may be re-used, it is proper to have a follow-up compilation to generate efficient code after the program development is complete.
机译:动态类型检查和方法绑定会减慢纯粹的面向对象程序,例如用Smalltalk编写的程序。需要动态方法查找以支持方法覆盖和类型方法一致性。我们已经开发了一种独立于平台的技术,该技术可有效地实现针对纯面向对象语言的方法重写。该技术涉及在编译时绑定非重写的方法调用。覆盖的方法调用也可以使用简单的推断静态地解析(和绑定)。覆盖的方法绑定使用覆盖的方法字典进行动态更正。通过仿真,我们证明了该技术比Berkeley Smalltalk实现的平均方法查找延迟减少了35%-70%。该技术的编译时间开销,内存开销非常低,不需要专门的硬件,并且允许在并发程序中共享代码页。对于可以重复使用的程序,在程序开发完成后,进行后续编译以生成有效的代码是适当的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号