KRust: A Formal Executable Semantics of Rust
2018
会议录名称PROCEEDINGS 2018 12TH INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING (TASE 2018)
卷号2018-January
页码44-51
发表状态已发表
DOI10.1109/TASE.2018.00014
摘要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 Rust does not necessarily need garbage collection. These novel features bring Rust high performance, fine-grained low-level control over memory without garbage collection, which differentiate 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 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 validated by testing with 182 tests, including 157 tests from the official Rust test suite. We individually found an error in the Rust compiler.
关键词Formal operational semantics Rust programming language K framework
出版地345 E 47TH ST, NEW YORK, NY 10017 USA
会议地点Guangzhou, China
收录类别CPCI ; CPCI-S ; EI
语种英语
资助项目NSFC[61502171]
WOS研究方向Computer Science
WOS类目Computer Science, Software Engineering
WOS记录号WOS:000454985900006
出版者IEEE
EI入藏号20191006591251
EI主题词High level languages ; Program interpreters ; Refuse collection ; Safety engineering ; Semantics
EI分类号Municipal and Industrial Wastes; Waste Treatment and Disposal:452 ; Computer Software, Data Handling and Applications:723 ; Safety Engineering:914
原始文献类型Proceedings Paper
引用统计
文献类型会议论文
条目标识符https://kms.shanghaitech.edu.cn/handle/2MSLDSTB/29111
专题信息科学与技术学院_硕士生
信息科学与技术学院_PI研究组_宋富组
通讯作者Wang, Feng
作者单位
1.ShanghaiTech Univ, Sch Informat Sci & Technol, Shanghai, Peoples R China
2.East China Normal Univ, Shanghai Key Lab Trustworthy Comp, Shanghai, Peoples R China
第一作者单位信息科学与技术学院
通讯作者单位信息科学与技术学院
第一作者的第一单位信息科学与技术学院
推荐引用方式
GB/T 7714
Wang, Feng,Song, Fu,Zhang, Min,et al. KRust: A Formal Executable Semantics of Rust[C]. 345 E 47TH ST, NEW YORK, NY 10017 USA:IEEE,2018:44-51.
条目包含的文件 下载所有文件
文件名称/大小 文献类型 版本类型 开放类型 使用许可
个性服务
查看访问统计
谷歌学术
谷歌学术中相似的文章
[Wang, Feng]的文章
[Song, Fu]的文章
[Zhang, Min]的文章
百度学术
百度学术中相似的文章
[Wang, Feng]的文章
[Song, Fu]的文章
[Zhang, Min]的文章
必应学术
必应学术中相似的文章
[Wang, Feng]的文章
[Song, Fu]的文章
[Zhang, Min]的文章
相关权益政策
暂无数据
收藏/分享
文件名: TASE18.pdf
格式: Adobe PDF
此文件暂不支持浏览
所有评论 (0)
暂无评论
 

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。