1 unstable release
| 0.8.0 | Jun 7, 2022 |
|---|---|
| 0.7.0 |
|
#963 in Memory management
26KB
830 lines
Generational counting
This crate implements Vale's generational reference counting memory management. Intended as an alternative to Rc with slightly different semantics.
Advantages over Rc:
- Sharing references are
Copyand therefore extremely cheap - RAII semantics
Disadvantages:
- Only one owned reference, requiring management
- Dereferencing returns
Option - Not
Deref
The locking system is non-granular for ease of implementation (and possibly speed.)
Generational reference counting in Rust
An implementation of Vale's generational reference counting memory management model.
Dependencies
~130KB