{"id":20216125,"url":"https://github.com/vengarioth/genetic-gc","last_synced_at":"2025-07-18T05:33:40.825Z","repository":{"id":70272256,"uuid":"73420620","full_name":"Vengarioth/genetic-gc","owner":"Vengarioth","description":"a garbage collector powered by machine learning and written in rust","archived":false,"fork":false,"pushed_at":"2016-11-13T13:53:06.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T11:24:05.510Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vengarioth.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":"2016-11-10T21:02:22.000Z","updated_at":"2019-09-14T21:39:09.000Z","dependencies_parsed_at":"2023-02-22T08:45:29.570Z","dependency_job_id":null,"html_url":"https://github.com/Vengarioth/genetic-gc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vengarioth/genetic-gc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vengarioth%2Fgenetic-gc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vengarioth%2Fgenetic-gc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vengarioth%2Fgenetic-gc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vengarioth%2Fgenetic-gc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vengarioth","download_url":"https://codeload.github.com/Vengarioth/genetic-gc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vengarioth%2Fgenetic-gc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265705426,"owners_count":23814449,"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-11-14T06:26:29.517Z","updated_at":"2025-07-18T05:33:40.786Z","avatar_url":"https://github.com/Vengarioth.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# genetic-gc\n_a machine learning approach to garbage collection_\n\n[![Build Status](https://travis-ci.org/Vengarioth/genetic-gc.svg?branch=master)](https://travis-ci.org/Vengarioth/genetic-gc)\n\n## State of the GC\n1. make it work __✓__\n2. make it pretty\n3. make it fast\n\n## State of the model\n1. make it work\n2. make it pretty\n3. make it fast\n\n## API\n```rust\n// TypeInformation and TestStruct omitted\nlet type_information = TypeInformation{};\nlet mut gc = GC::new(type_information);\nlet size = std::mem::size_of::\u003cTestStruct\u003e();\nlet address_one = gc.allocate(size).unwrap();\nlet address_two = gc.allocate(size).unwrap();\n\ngc.add_root(address_one);\ngc.collect();\n\n// address_one will still be alive since it's a root reference\nassert!(gc.is_address_valid(address_one));\n\n// address_two will be gone since nothing refers to it\nassert!(!gc.is_address_valid(address_two));\n```\n\n## Licence\n\n__MIT__\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvengarioth%2Fgenetic-gc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvengarioth%2Fgenetic-gc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvengarioth%2Fgenetic-gc/lists"}