按年被提到
20182018 · 2 次2026
编程语言与编译器›Rust 与内存安全·arXiv:1804.10806 · cs.PL

KRust: A Formal Executable Semantics of Rust

Feng Wang, Fu Song, Min Zhang, Xiaoran Zhu, Jun Zhang · 2018
开始阅读 ↗PDFalphaXiv 讨论
被提及 · 3 人首次 2018-05-01 · 最近 2022-03-28
3不同的人
2活跃月份
3讨论串
34被引(OpenAlex)
arXiv 摘要(候选层不写导读)

Rust is a new and promising high-level system programming language. It provides both memory safety and thread safety through its novel mechanisms such as ownership, moves and borrows. Ownership system ensures that at any point there is only one owner of any given resource. The ownership of a resource can be moved or borrowed according to the lifetimes. The ownership system establishes a clear lifetime for each value and hence does not necessarily need garbage collection. These novel features bring Rust high performance, fine low-level control of C and C++, and unnecessity in garbage collection, which differ Rust from other existing prevalent languages. For formal analysis of Rust programs and helping programmers learn its new mechanisms and features, a formal semantics of Rust is desired and useful as a fundament for developing related tools. In this paper, we present a formal executable operational semantics of a realistic subset of Rust, called KRust. The semantics is defined in K, a rewriting-based executable semantic framework for programming languages. The executable semantics yields automatically a formal interpreter and verification tools for Rust programs. KRust has been thoroughly validated by testing with hundreds of tests, including the official Rust test suite.

候选层:至少 2 个不同的人、在 2 个不同月份提到过,还没到主书架的 3 人 3 个月。没有做立场标注,所以只写“被提及”。

HN 书评

推荐在前,同类按时间 · 每篇最多保留 20 条,统计用全部提及
评论belter · 2022-03

“Surely the first step should be to push the language and formalize a spec first? Example of a beginning effort: "KRust: A Formal Executable Semantics of Rust"' https://arxiv.org/abs/1804.10806”

High Assurance Rust: Developing Secure and Robust Software原评论 ↗
被提交为 story · 2 次