{"id":18016893,"url":"https://github.com/fitzgen/bacon-rajan-cc","last_synced_at":"2025-04-07T12:09:43.179Z","repository":{"id":32290632,"uuid":"35865490","full_name":"fitzgen/bacon-rajan-cc","owner":"fitzgen","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-09T19:17:35.000Z","size":736,"stargazers_count":93,"open_issues_count":7,"forks_count":16,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-31T11:02:47.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fitzgen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-05-19T07:10:44.000Z","updated_at":"2025-02-26T22:24:37.000Z","dependencies_parsed_at":"2023-12-22T12:51:29.517Z","dependency_job_id":null,"html_url":"https://github.com/fitzgen/bacon-rajan-cc","commit_stats":{"total_commits":114,"total_committers":9,"mean_commits":"12.666666666666666","dds":0.5964912280701755,"last_synced_commit":"e8f6ff5f8a54d14767bcd1e36ca71a539791f290"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitzgen%2Fbacon-rajan-cc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitzgen%2Fbacon-rajan-cc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitzgen%2Fbacon-rajan-cc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitzgen%2Fbacon-rajan-cc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fitzgen","download_url":"https://codeload.github.com/fitzgen/bacon-rajan-cc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648977,"owners_count":20972945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T04:19:37.709Z","updated_at":"2025-04-07T12:09:43.158Z","avatar_url":"https://github.com/fitzgen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bacon_rajan_cc\n\n![Build Status](https://github.com/fitzgen/bacon-rajan-cc/workflows/Rust/badge.svg)\n[![Crates.io](https://img.shields.io/crates/v/bacon_rajan_cc.svg)](https://crates.io/crates/bacon_rajan_cc)\n[![Documentation](https://docs.rs/bacon_rajan_cc/badge.svg)](https://docs.rs/bacon-rajan-cc)\n[![Rust 1.34.2+](https://img.shields.io/badge/rust-1.34.2+-orange.svg)](https://www.rust-lang.org)\n\n`Cc\u003cT\u003e`: A reference counted type with cycle collection for Rust. Concurrent or\nstop-the-world. Based on the paper\n[\"Concurrent Cycle Collection in Reference Counted Systems\"][paper] by David\nF. Bacon and V.T. Rajan. [JVM implementation](https://github.com/JikesRVM/JikesRVM/blob/8f6ac1854a73059595587b63fb4e8a3553bc7ff1/rvm/src/vm/memoryManagers/concurrent/VM_Allocator.java)\n\nCurrently only stop-the-world, not concurrent.\n\n## Usage\n\nAdd to `Cargo.toml`:\n\nNote this requires at least Rust 1.28 for the std::alloc api's.\n\n```toml\n[dependencies]\nbacon_rajan_cc = \"0.3\"\n```\n\nThen, in your crate:\n\n```rust\nextern crate bacon_rajan_cc;\nuse bacon_rajan_cc::{Cc, Trace, Tracer};\n```\n\n## Documentation\n\n[Read the docs!][docs]\n\n[paper]: http://researcher.watson.ibm.com/researcher/files/us-bacon/Bacon01Concurrent.pdf\n[docs]: https://docs.rs/bacon_rajan_cc/\n\n## Future\n[Incremental cycle collection](https://bugzilla.mozilla.org/show_bug.cgi?id=850065#c0)\n\n## Alternatives\n- https://github.com/jrmuizel/cc-mt (an experimental thread safe version of bacon-rajan-cc)\n- https://github.com/withoutboats/shifgrethor\n- https://github.com/Manishearth/rust-gc\n- https://github.com/redradist/ferris-gc (a thread safe reimplementatin of rust-gc)\n- https://github.com/Others/shredder\n- https://github.com/jazz-lang/wafflelink (conservative on stack,precise on heap Immix Mark-Region GC with evacuation in Rust)\n- https://github.com/artichoke/cactusref https://hyperbo.la/w/cactus-harvesting/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffitzgen%2Fbacon-rajan-cc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffitzgen%2Fbacon-rajan-cc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffitzgen%2Fbacon-rajan-cc/lists"}