首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Customization: Optimizing Compiler Technology for SELF, a Dynamically-Typed Object-Oriented Programming Language Craig Chambers
【24h】

Customization: Optimizing Compiler Technology for SELF, a Dynamically-Typed Object-Oriented Programming Language Craig Chambers

机译:定制:针对SELF(一种动态类型的面向对象的编程语言)的优化编译器技术Craig Chambers

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

摘要

Dynamically-typed object-oriented languages please programmers, but their lack of static type information penalizes performance. Our new implementation techniques extract static type information from declaration-free programs. Our system compiles several copies of a given procedure, each, customized for one receiver type, so that the type of the receiver is bound at compile time. The compiler predicts types that are statically unknown but likely, and inserts run-time type tests to verify its predictions. It splits calls, compiling a copy on each control path, optimized to the specific types on that path. Coupling these new techniques with compile-time message lookup, aggressive procedure inlining, and traditional optimizations has doubled the performance of dynamically-typed object-oriented languages.
机译:动态类型的面向对象语言使程序员感到满意,但是它们缺乏静态类型信息会降低性能。我们的新实现技术从无声明的程序中提取静态类型信息。我们的系统编译给定过程的多个副本,每个副本针对一种接收器类型进行自定义,以便在编译时绑定接收器的类型。编译器预测静态未知但可能存在的类型,并插入运行时类型测试以验证其预测。它拆分调用,在每个控制路径上编译一个副本,并针对该路径上的特定类型进行优化。这些新技术与编译时消息查找,积极的过程内联以及传统的优化相结合,使动态类型的面向对象语言的性能提高了一倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号