10 releases

Uses old Rust 2015

0.4.0 Jul 22, 2022
0.3.2 May 15, 2021
0.3.1 Jul 19, 2020
0.3.0 Aug 1, 2019
0.1.0 Aug 2, 2015

#268 in Memory management

Download history 6/week @ 2023-06-10 29/week @ 2023-06-17 21/week @ 2023-06-24 16/week @ 2023-07-01 16/week @ 2023-07-08 23/week @ 2023-07-15 17/week @ 2023-07-22 20/week @ 2023-07-29 35/week @ 2023-08-05 43/week @ 2023-08-12 29/week @ 2023-08-19 29/week @ 2023-08-26 22/week @ 2023-09-02 20/week @ 2023-09-09 19/week @ 2023-09-16 7/week @ 2023-09-23

69 downloads per month
Used in 2 crates

MIT/Apache

73KB
1.5K SLoC

bacon_rajan_cc

Build Status Crates.io Documentation Rust 1.34.2+

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