{"id":22318610,"url":"https://github.com/no-defun-allowed/the_cooler_shared_ptr","last_synced_at":"2025-07-29T11:09:46.306Z","repository":{"id":90115017,"uuid":"562068976","full_name":"no-defun-allowed/the_cooler_shared_ptr","owner":"no-defun-allowed","description":"Coalesced reference counting smart pointer","archived":false,"fork":false,"pushed_at":"2022-11-05T08:25:37.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T04:15:45.389Z","etag":null,"topics":["garbage-collector","reference-counting","smart-pointer"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/no-defun-allowed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-05T07:53:12.000Z","updated_at":"2022-11-05T07:55:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9181bcc-b40f-4f3b-ae52-262b7e9ee45a","html_url":"https://github.com/no-defun-allowed/the_cooler_shared_ptr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/no-defun-allowed/the_cooler_shared_ptr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-defun-allowed%2Fthe_cooler_shared_ptr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-defun-allowed%2Fthe_cooler_shared_ptr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-defun-allowed%2Fthe_cooler_shared_ptr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-defun-allowed%2Fthe_cooler_shared_ptr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/no-defun-allowed","download_url":"https://codeload.github.com/no-defun-allowed/the_cooler_shared_ptr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-defun-allowed%2Fthe_cooler_shared_ptr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267677340,"owners_count":24126313,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["garbage-collector","reference-counting","smart-pointer"],"created_at":"2024-12-03T23:42:02.001Z","updated_at":"2025-07-29T11:09:46.274Z","avatar_url":"https://github.com/no-defun-allowed.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Cooler `shared_ptr`\n\n`crc::cooler_shared_ptr` provides a [coalescing](https://sites.cs.ucsb.edu/~ckrintz/racelab/gc/papers/levanoni-on-the-fly-rc.pdf)\nreference-counting smart pointer, which trades off immediate destruction for\nfewer refcount updates. You may also call `crc::collect()` to cause collection to\nrun immediately.\n\nThis isn't thread-safe at all. I'm not entirely convinced it works with \none thread, even. But RAII does suffice to provide a shadow stack of sorts.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fno-defun-allowed%2Fthe_cooler_shared_ptr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fno-defun-allowed%2Fthe_cooler_shared_ptr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fno-defun-allowed%2Fthe_cooler_shared_ptr/lists"}