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

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

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

arXiv:2603.16437 (cs)
[提交于 2026年3月17日 (v1),最后修订于 2026年10月15日 (此版本, v9)]

标题:Dimensional Type Systems and Deterministic Memory Management

作者:Houston Haynes
查看论文《Dimensional Type Systems and Deterministic Memory Management》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:We present a dimensional type system whose annotations remain available through the stages that require them, allowing numeric representation and deterministic memory management to be resolved within a single Program Semantic Graph (PSG). Based on Andrew Kennedy's Units of Measure, dimensions constrain admissible operations and the application of domain laws, forming our Native Type Universe (NTU). Range analysis combines those constraints with values, guards, and declared boundaries. A covering representation then determines word width and memory footprint, which participate in allocation and transfer decisions alongside lifetime and target constraints. Our Dimensional Type System (DTS) extends Hindley-Milner inference with abelian-group unification. Within that algebraic fragment, inference is decidable and admits principal types. Measures form part of source-level type identity, while numeric width and storage layout are coeffects resolved from context. A known range that exceeds every available representation produces an error at representation commitment. During program elaboration, unresolved facts can remain pending while further context is supplied. Deterministic Memory Management (DMM) uses the same graph to relate escape paths to storage lifetimes. Closure capture, return, and by-reference use supply different lifetime requirements. Allocation follows the lifetime classification and the platform's declared storage capabilities. Our unique implementation of a posit quire illustrates the interaction: exact accumulation requires a suitable numeric format, adequate capacity, and storage that persists across the accumulation. We also examine how these constraints would apply to automatic differentiation. A shared graph would allow language services to present dimensional resolution and proof status alongside the reasons for representation and placement decisions.
评论: 26 pages, 0 figures, 7 tables. Updated for contributions from Karwowski et al
主题: 程序设计语言 (cs.PL); 范畴论 (math.CT); 逻辑 (math.LO)
引用方式: arXiv:2603.16437 [cs.PL]
  (或者 arXiv:2603.16437v9 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2603.16437

提交历史

来自:Houston Haynes
[v1] 2026年3月17日 星期二 12:19:07 UTC (36 KB)
[v2] 2026年4月2日 星期四 16:04:27 UTC (37 KB)
[v3] 2026年4月8日 星期三 15:33:30 UTC (37 KB)
[v4] 2026年4月13日 星期一 21:29:35 UTC (39 KB)
[v5] 2026年4月19日 星期日 15:09:09 UTC (37 KB)
[v6] 2026年4月27日 星期一 17:48:52 UTC (39 KB)
[v7] 2026年6月16日 星期二 01:11:55 UTC (39 KB)
[v8] 2026年10月8日 星期四 14:56:35 UTC (31 KB)
[v9] 2026年10月15日 星期四 10:13:42 UTC (32 KB)
全文链接:

访问论文:

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

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-10
切换浏览方式为:
cs.PL
math.CT
math.LO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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