计算机科学 > 程序设计语言
[提交于 2025年5月27日]
标题:Thread and Memory-Safe Programming with CLASS
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:CLASS is a proof-of-concept general purpose linear programming language, flexibly supporting realistic concurrent programming idioms, and featuring an expressive linear type system ensuring that programs (1) never misuse or leak stateful resources or memory, (2) never deadlock, and (3) always terminate. The design of CLASS and the strong static guarantees of its type system originates in its Linear Logic and proposition-as-types foundations. However, instead of focusing on its theoretical foundations, this paper briefly illustrates, in a tutorial form, an identifiable CLASS session-based programming style where strong correctness properties are automatically ensured by type-checking. Our more challenging examples include concurrent thread and memory-safe mutable ADTs, lazy stream programming, and manipulation of linear digital assets as used in smart contracts.
提交历史
来自:EPTCS[v1] 2025年5月27日 星期二 08:02:01 UTC