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

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

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

arXiv:1908.09681 (cs)
[提交于 2019年8月26日 (v1),最后修订于 2020年6月25日 (此版本, v4)]

标题:Kindly Bent to Free Us

作者:Gabriel Radanne, Hannes Saffrich, Peter Thiemann
查看论文《Kindly Bent to Free Us》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Systems programming often requires the manipulation of resources like file handles, network connections, or dynamically allocated memory. Programmers need to follow certain protocols to handle these resources correctly. Violating these protocols causes bugs ranging from type mismatches over data races to use-after-free errors and memory leaks. These bugs often lead to security vulnerabilities. While statically typed programming languages guarantee type soundness and memory safety by design, most of them do not address issues arising from improper handling of resources. An important step towards handling resources is the adoption of linear and affine types that enforce single-threaded resource usage. However, the few languages supporting such types require heavy type annotations. We present Affe, an extension of ML that manages linearity and affinity properties using kinds and constrained types. In addition Affe supports the exclusive and shared borrowing of affine resources, inspired by features of Rust. Moreover, Affe retains the defining features of the ML family: it is an impure, strict, functional expression language with complete principal type inference and type abstraction. Affe does not require any linearity annotations in expressions and supports common functional programming idioms.
评论: ICFP 2020
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:1908.09681 [cs.PL]
  (或者 arXiv:1908.09681v4 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1908.09681

提交历史

来自:Gabriel Radanne
[v1] 2019年8月26日 星期一 13:40:51 UTC
[v2] 2019年10月28日 星期一 09:38:34 UTC
[v3] 2020年3月18日 星期三 14:03:24 UTC
[v4] 2020年6月25日 星期四 13:30:58 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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