Researchers introduce Alloy, a novel garbage collection system for Rust that automatically reuses existing destructors as finalizers. The system addresses fundamental challenges through finalizer safety analysis (rejecting unsafe destructors), finalizer elision (optimizing away unnecessary finalizers), and premature finalizer prevention (ensuring safe execution timing). Alloy uses conservative garbage collection and extends the Rust compiler to enable these features while maintaining reasonable performance compared to reference counting.
Table of contents
1 Introduction2 Background3 Alloy : Design and Implementation4 Destructors and Finalizers5 Finalizer Elision6 Premature Finalizer Prevention7 Finalizer Safety Analysis8 Evaluation10 Related Work11 ConclusionsData Availability StatementAcknowledgmentsReferencesAppendixAdditional Experimental Data9 Comments
Sort: