【24h】

Source-Level Optimization of Run-Time Program Generators

机译:运行时程序生成器的源代码级优化

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

摘要

We describe our efforts to use source-level rewriting to optimize run-time program generators written in Jumbo, a run-time program generation system for Java. Jumbo is a compiler written in compositional style, which brings the advantage that any program fragment can be abstracted out and compiled to an intermediate form. These forms can be put together at run-time to build complete programs. This principle provides a high level of flexibility in writing program generators. However, this comes at the price of inefficient run-time compilation. Using source-level transformations, we optimize the run-time generation of byte code from fragments, achieving speedups of 5-15%. We discuss the optimization process and give several examples.
机译:我们描述了我们使用源代码级重写来优化用Jumbo编写的运行时程序生成器的努力,Jumbo是Java的运行时程序生成系统。 Jumbo是用组合样式编写的编译器,它具有可以将任何程序片段抽象出来并编译为中间形式的优点。这些表格可以在运行时放在一起以构建完整的程序。该原理为编写程序生成器提供了高度的灵活性。但是,这是以效率低下的运行时编译为代价的。使用源级转换,我们优化了片段中字节代码的运行时生成,实现了5-15%的加速。我们讨论了优化过程并给出了几个示例。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号