Crates.io | bacon_rajan_cc |
lib.rs | bacon_rajan_cc |
version | 0.4.0 |
source | src |
created_at | 2015-08-02 09:46:33.824075 |
updated_at | 2022-07-22 00:41:44.551158 |
description | A reference counted type with cycle collection. |
homepage | |
repository | https://github.com/fitzgen/bacon-rajan-cc |
max_upload_size | |
id | 2737 |
size | 86,971 |
Cc<T>
: A reference counted type with cycle collection for Rust. Concurrent or
stop-the-world. Based on the paper
"Concurrent Cycle Collection in Reference Counted Systems" by David
F. Bacon and V.T. Rajan. JVM implementation
Currently only stop-the-world, not concurrent.
Add to Cargo.toml
:
Note this requires at least Rust 1.28 for the std::alloc api's.
[dependencies]
bacon_rajan_cc = "0.3"
Then, in your crate:
extern crate bacon_rajan_cc;
use bacon_rajan_cc::{Cc, Trace, Tracer};