Tuesday, 3 July 2018

Josephine: Using JavaScript to safely manage the lifetimes of Rust data. (arXiv:1807.00067v1 [cs.PL])

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.



from cs updates on arXiv.org https://ift.tt/2KIj2Hr
//

Related Posts:

0 comments:

Post a Comment