{"id":29067160,"url":"https://github.com/rcmgleite/rlmalloc","last_synced_at":"2025-10-11T23:32:04.585Z","repository":{"id":82280008,"uuid":"91287281","full_name":"rcmgleite/rlmalloc","owner":"rcmgleite","description":"Simple malloc implementation using \"first fit\" algorithm","archived":false,"fork":false,"pushed_at":"2017-05-17T12:36:08.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T10:47:53.546Z","etag":null,"topics":["malloc-free","memory-allocation","study"],"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/rcmgleite.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,"zenodo":null}},"created_at":"2017-05-15T02:30:42.000Z","updated_at":"2017-12-10T22:34:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e0b7df0-df9c-42ad-8c5b-073cd636c686","html_url":"https://github.com/rcmgleite/rlmalloc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rcmgleite/rlmalloc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcmgleite%2Frlmalloc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcmgleite%2Frlmalloc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcmgleite%2Frlmalloc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcmgleite%2Frlmalloc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rcmgleite","download_url":"https://codeload.github.com/rcmgleite/rlmalloc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcmgleite%2Frlmalloc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009390,"owners_count":26084580,"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-10-11T02:00:06.511Z","response_time":55,"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":["malloc-free","memory-allocation","study"],"created_at":"2025-06-27T10:36:58.289Z","updated_at":"2025-10-11T23:32:04.567Z","avatar_url":"https://github.com/rcmgleite.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rlmalloc \nThis a simple implementation of malloc using the first fit algorithm. It's NOT PRODUCTION READY and was created just for academic purposes.\n\n## System requirements\nPlease use Linux.\n\n## Compile\nTo compile the example on main.c just execute:\n```\n$ make\n```\n\n## main.c\nThis file uses rlmalloc and rlfree to manager memory with some simple examples.\n\n## bibliography\n- [Malloc tutorial](http://www.inf.udec.cl/~leo/Malloc_tutorial.pdf)\n- [Simple malloc impl](https://danluu.com/malloc-tutorial/)\n- [Redis zmalloc](https://github.com/antirez/redis/blob/unstable/src/zmalloc.c#L176)\n- [Zero length array - C](http://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html)\n- [Memory Alignment](http://stackoverflow.com/questions/3994035/what-is-aligned-memory-allocation/3994235#3994235)\n\n## TODO's\n- [ ] Create better tests.\n- [ ] Keep track of memory usage. (eg: [zmalloc](https://github.com/antirez/redis/blob/unstable/src/zmalloc.c))\n- [ ] Thread safety.\n- [ ] Create statistics getters (eg: number of blocks).\n- [ ] Benchmark.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcmgleite%2Frlmalloc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frcmgleite%2Frlmalloc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcmgleite%2Frlmalloc/lists"}