Towards a framework for stochastic performance optimizations in compilers and interpreters: an architecture overview

Oliver Krauss
{"title":"Towards a framework for stochastic performance optimizations in compilers and interpreters: an architecture overview","authors":"Oliver Krauss","doi":"10.1145/3237009.3237024","DOIUrl":null,"url":null,"abstract":"Modern compilers and interpreters provide code optimizations before and during run-time to stay competitive with alternative execution environments, thus moving required domain knowledge about the compilation process away from the developer and speeding up resulting software. These optimizations are often based on formal proof, or alternatively have recovery paths as backup.\n This publication proposes an architecture utilizing abstract syntax trees (ASTs) to optimize the runtime performance of code with stochastic - search based - machine learning techniques. From these AST modifying optimizations a pattern mining approach attempts to find transformation patterns which are applicable to a software language. The application of these patterns happens during the parsing process or the programs run-time.\n Future work consists of implementing and extending the presented architecture, with a considerable focus on the mining of transformation patterns.","PeriodicalId":407085,"journal":{"name":"Managed Languages & Runtimes","volume":"38 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-09-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Managed Languages & Runtimes","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3237009.3237024","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Modern compilers and interpreters provide code optimizations before and during run-time to stay competitive with alternative execution environments, thus moving required domain knowledge about the compilation process away from the developer and speeding up resulting software. These optimizations are often based on formal proof, or alternatively have recovery paths as backup. This publication proposes an architecture utilizing abstract syntax trees (ASTs) to optimize the runtime performance of code with stochastic - search based - machine learning techniques. From these AST modifying optimizations a pattern mining approach attempts to find transformation patterns which are applicable to a software language. The application of these patterns happens during the parsing process or the programs run-time. Future work consists of implementing and extending the presented architecture, with a considerable focus on the mining of transformation patterns.
面向编译器和解释器随机性能优化的框架:体系结构概述
现代的编译器和解释器在运行之前和运行期间提供代码优化,以保持与其他执行环境的竞争力,从而将编译过程所需的领域知识从开发人员手中转移出去,并加速生成的软件。这些优化通常基于正式的证明,或者有恢复路径作为备份。本文提出了一种利用抽象语法树(ast)的架构,利用基于随机搜索的机器学习技术来优化代码的运行时性能。从这些AST修改优化中,模式挖掘方法试图找到适用于软件语言的转换模式。这些模式的应用发生在解析过程或程序运行时。未来的工作包括实现和扩展所呈现的体系结构,并将重点放在转换模式的挖掘上。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书