1 unstable release
Uses old Rust 2015
0.0.1 | Mar 30, 2016 |
---|
#43 in #garbage
10KB
204 lines
orc.rs
Orc Reference Counting
Highly experimental automatic memory manager for Rust.
lib.rs
:
Threadsafe garbage collector (the Orc<T>
type).
The Orc type provides shared ownership over an immutable value that is in stored in a preallocated memory area. As soon as the last reference to a stored value is gone the value is dropped. In addition to that cycles are reclaimed if the space is needed for new allocations.
While there may be some useful applications in pure rust programms for this of memory managment scheme, the intended use case is garbage collection for unityped (speak: dynamic) languages written in and tightly integrated with rust.
Dependencies
~15KB