跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:1711.04559 (cs)
[提交于 2017年11月13日]

标题:Linking Types for Multi-Language Software: Have Your Cake and Eat It Too

作者:Daniel Patterson, Amal Ahmed
查看论文《Linking Types for Multi-Language Software: Have Your Cake and Eat It Too》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Software developers compose systems from components written in many different languages. A business-logic component may be written in Java or OCaml, a resource-intensive component in C or Rust, and a high-assurance component in Coq. In this multi-language world, program execution sends values from one linguistic context to another. This boundary-crossing exposes values to contexts with unforeseen behavior---that is, behavior that could not arise in the source language of the value. For example, a Rust function may end up being applied in an ML context that violates the memory usage policy enforced by Rust's type system. This leads to the question of how developers ought to reason about code in such a multi-language world where behavior inexpressible in one language is easily realized in another. This paper proposes the novel idea of linking types to address the problem of reasoning about single-language components in a multi-lingual setting. Specifically, linking types allow programmers to annotate where in a program they can link with components inexpressible in their unadulterated language. This enables developers to reason about (behavioral) equality using only their own language and the annotations, even though their code may be linked with code written in a language with more expressive power.
评论: 14 pages; published in SNAPL '17, 2nd Summit on Advances in Programming Languages, May 7-10, 2017, Pacific Grove, California
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:1711.04559 [cs.PL]
  (或者 arXiv:1711.04559v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1711.04559
相关 DOI: https://doi.org/10.4230/LIPIcs.SNAPL.2017.12

提交历史

来自:Daniel Patterson
[v1] 2017年11月13日 星期一 13:02:25 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2017-11
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站