喵ID:JjsnYG免责声明

The next 700 compiler correctness theorems (functional pearl)

基本信息

DOI:
10.1145/3341689
发表时间:
2019-07
影响因子:
--
通讯作者:
Daniel Patterson;Amal J. Ahmed
中科院分区:
文献类型:
--
作者: Daniel Patterson;Amal J. Ahmed研究方向: -- MeSH主题词: --
关键词: --
来源链接:pubmed详情页地址

文献摘要

Compiler correctness is an old problem, with results stretching back beyond the last half-century. Founding the field, John McCarthy and James Painter set out to build a "completely trustworthy compiler". And yet, until quite recently, even despite truly impressive verification efforts, the theorems being proved were only about the compilation of whole programs, a theoretically quite appealing but practically unrealistic simplification. For a compiler correctness theorem to assure complete trust, the theorem must reflect the reality of how the compiler will be used. There has been much recent work on more realistic "compositional" compiler correctness aimed at proving correct compilation of components while supporting linking with components compiled from different languages using different compilers. However, the variety of theorems, stated in remarkably different ways, raises questions about what researchers even mean by a "compiler is correct." In this pearl, we develop a new framework with which to understand compiler correctness theorems in the presence of linking, and apply it to understanding and comparing this diversity of results. In doing so, not only are we better able to assess their relative strengths and weaknesses, but gain insight into what we as a community should expect from compiler correctness theorems of the future.
编译器的正确性是一个旧问题,结果延伸到了过去半个世纪以上。约翰·麦卡锡(John McCarthy)和詹姆斯·画家(James Painter)创立了该领域,着手建造一个“完全值得信赖的编译器”。然而,直到最近,尽管确实令人印象深刻的验证工作,但被证明的定理仅与整个程序的汇编有关,这在理论上很吸引人,但实际上是不切实际的简化。为了使编译器正确性定理确保完全信任,该定理必须反映如何使用编译器的现实。最近有很多关于更现实的“组成”编译器正确性的工作,旨在证明组件的正确编译,同时支持使用不同编译器从不同语言编辑的组件链接。但是,以非常不同的方式指出的各种定理都提出了有关研究人员甚至“编译器是正确”的含义的问题。在这款珍珠中,我们开发了一个新的框架,可以在链接的存在下了解编译器正确性定理,并将其应用于理解和比较结果的多样性。这样一来,我们不仅能够更好地评估他们的相对优势和劣势,而且可以深入了解我们作为社区对未来编译器正确性定理的期望。
参考文献(41)
被引文献(33)

数据更新时间:{{ references.updateTime }}

Daniel Patterson;Amal J. Ahmed
通讯地址:
--
所属机构:
--
电子邮件地址:
--
免责声明免责声明
1、猫眼课题宝专注于为科研工作者提供省时、高效的文献资源检索和预览服务;
2、网站中的文献信息均来自公开、合规、透明的互联网文献查询网站,可以通过页面中的“来源链接”跳转数据网站。
3、在猫眼课题宝点击“求助全文”按钮,发布文献应助需求时求助者需要支付50喵币作为应助成功后的答谢给应助者,发送到用助者账户中。若文献求助失败支付的50喵币将退还至求助者账户中。所支付的喵币仅作为答谢,而不是作为文献的“购买”费用,平台也不从中收取任何费用,
4、特别提醒用户通过求助获得的文献原文仅用户个人学习使用,不得用于商业用途,否则一切风险由用户本人承担;
5、本平台尊重知识产权,如果权利所有者认为平台内容侵犯了其合法权益,可以通过本平台提供的版权投诉渠道提出投诉。一经核实,我们将立即采取措施删除/下架/断链等措施。
我已知晓