9 releases

Uses old Rust 2015

0.3.2 May 15, 2021
0.3.1 Jul 19, 2020
0.3.0 Aug 1, 2019
0.2.4 Mar 25, 2019
0.1.0 Aug 2, 2015

#59 in Memory management

Download history 4/week @ 2021-08-06 14/week @ 2021-08-13 4/week @ 2021-08-20 4/week @ 2021-08-27 3/week @ 2021-09-10 2/week @ 2021-09-17 10/week @ 2021-09-24 11/week @ 2021-10-01 1/week @ 2021-10-08 4/week @ 2021-10-15 13/week @ 2021-10-22 12/week @ 2021-10-29 11/week @ 2021-11-05 11/week @ 2021-11-19

64 downloads per month
Used in 2 crates

MIT/Apache

70KB
1K SLoC

bacon_rajan_cc

Build Status

crates.io

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.

Usage

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};

Documentation

Read the docs!

Alternatives

No runtime deps

'`