{"id":18880104,"url":"https://github.com/antoninhrlt/memlib","last_synced_at":"2026-06-23T03:32:24.847Z","repository":{"id":150901477,"uuid":"494609503","full_name":"antoninhrlt/memlib","owner":"antoninhrlt","description":"Memory allocations and management library written in C to be used without the standard library ","archived":false,"fork":false,"pushed_at":"2022-05-21T10:56:26.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T06:54:28.852Z","etag":null,"topics":["c","c-language","memory-allocation","memory-management","no-std"],"latest_commit_sha":null,"homepage":"https://blog.antoninhrlt.com/how-to-rewrite-malloc-from-scratch-with-c","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antoninhrlt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-20T21:19:30.000Z","updated_at":"2023-02-03T19:06:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba66e805-ffc8-4e04-bb81-95e2d00d3d81","html_url":"https://github.com/antoninhrlt/memlib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/antoninhrlt/memlib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoninhrlt%2Fmemlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoninhrlt%2Fmemlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoninhrlt%2Fmemlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoninhrlt%2Fmemlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antoninhrlt","download_url":"https://codeload.github.com/antoninhrlt/memlib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoninhrlt%2Fmemlib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34674702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"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":["c","c-language","memory-allocation","memory-management","no-std"],"created_at":"2024-11-08T06:41:52.319Z","updated_at":"2026-06-23T03:32:24.824Z","avatar_url":"https://github.com/antoninhrlt.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# memlib\nMemory allocations and management library written in C to be used without the standard library\n\n## Get started\nThe project is using [xmake](https://xmake.io) and it requires to have this tool\ninstalled on your computer.\n- `git clone https://github.com/antoninhrlt/memlib`\n- `cd memlib`\n- `xmake install` (or `xmake install -o \u003ctarget folder\u003e`)\n\nThe library is now installed on your computer and you can start using it !\n\n## Example\n```c\nint array[] = {1, 2, 3};\nint* copy = memlib_alloc(sizeof(int) * 3);\n\nmemlib_copy(copy, array, 3);\n\nprintf(\"%p : [%i, %i, %i]\\n\", copy, copy[0], copy[1], copy[2]);\n// Indicate if both arrays are the same\nprintf(\"? %s\\n\", memlib_comp(array, copy, 3) ? \"true\" : \"false\");\n\nmemlib_free(copy);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoninhrlt%2Fmemlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantoninhrlt%2Fmemlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoninhrlt%2Fmemlib/lists"}