We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.PL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Programming Languages

Title: Rusty Links in Local Chains

Abstract: Rust successfully applies ownership types to control memory allocation. This restricts the programs' topologies to the point where doubly-linked lists cannot be programmed in Safe Rust. We sketch how more flexible "local" ownership could be added to Rust, permitting multiple mutable references to objects, provided each reference is bounded by the object's lifetime. To maintain thread-safety, locally owned objects must remain thread-local; to maintain memory safety, local objects can be deallocated when their owner's lifetime expires.
Subjects: Programming Languages (cs.PL)
Cite as: arXiv:2205.00795 [cs.PL]
  (or arXiv:2205.00795v1 [cs.PL] for this version)

Submission history

From: James Noble [view email]
[v1] Mon, 2 May 2022 10:25:46 GMT (345kb)

Link back to: arXiv, form interface, contact.