计算机科学 > 程序设计语言
[提交于 2018年6月29日]
标题:Josephine: Using JavaScript to safely manage the lifetimes of Rust data
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper is about the interface between languages which use a garbage collector and those which use fancy types for safe manual memory management. Garbage collection is the traditional memory management scheme for functional languages, whereas type systems are now used for memory safety in imperative languages. We use existing techniques for linear capabilities to provide safe access to copyable references, but the application to languages with a tracing garbage collector, and to data with explicit lifetimes is new. This work is related to mixed linear/non-linear programming, but the languages being mixed are Rust and JavaScript.
提交历史
来自:Alan Jeffrey[v1] 2018年6月29日 星期五 20:59:55 UTC