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

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

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

arXiv:2302.07782 (cs)
[提交于 2023年2月15日]

标题:Multi-graded Featherweight Java

作者:Riccardo Bianchini, Francesco Dagnino, Paola Giannini, Elena Zucca
查看论文《Multi-graded Featherweight Java》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Resource-aware type systems statically approximate not only the expected result type of a program, but also the way external resources are used, e.g., how many times the value of a variable is needed. We extend the type system of Featherweight Java to be resource-aware, parametrically on an arbitrary grade algebra modeling a specific usage of resources. We prove that this type system is sound with respect to a resource-aware version of reduction, that is, a well-typed program has a reduction sequence which does not get stuck due to resource consumption. Moreover, we show that the available grades can be heterogeneous, that is, obtained by combining grades of different kinds, via a minimal collection of homomorphisms from one kind to another. Finally, we show how grade algebras and homomorphisms can be specified as Java classes, so that grade annotations in types can be written in the language itself.
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2302.07782 [cs.PL]
  (或者 arXiv:2302.07782v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2302.07782

提交历史

来自:Francesco Dagnino
[v1] 2023年2月15日 星期三 17:07:23 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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