{"id":26219762,"url":"https://github.com/retrodev256/falloc","last_synced_at":"2026-04-26T09:31:27.120Z","repository":{"id":280753657,"uuid":"942480439","full_name":"RetroDev256/falloc","owner":"RetroDev256","description":"A temporary-file backed allocator for zig","archived":false,"fork":false,"pushed_at":"2025-03-05T18:05:40.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T21:24:31.768Z","etag":null,"topics":["zig-library","zig-memory","zig-modules","zig-package"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/RetroDev256.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-04T07:05:17.000Z","updated_at":"2025-03-05T18:05:43.000Z","dependencies_parsed_at":"2025-03-05T06:31:33.271Z","dependency_job_id":null,"html_url":"https://github.com/RetroDev256/falloc","commit_stats":null,"previous_names":["retrodev256/falloc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RetroDev256/falloc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RetroDev256%2Ffalloc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RetroDev256%2Ffalloc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RetroDev256%2Ffalloc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RetroDev256%2Ffalloc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RetroDev256","download_url":"https://codeload.github.com/RetroDev256/falloc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RetroDev256%2Ffalloc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32292719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T08:29:33.829Z","status":"ssl_error","status_checked_at":"2026-04-26T08:29:18.366Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["zig-library","zig-memory","zig-modules","zig-package"],"created_at":"2025-03-12T14:19:28.562Z","updated_at":"2026-04-26T09:31:27.103Z","avatar_url":"https://github.com/RetroDev256.png","language":"Zig","readme":"Ever wanted a zig allocator that could allocate all the free space of your HDD? Look no further! Really though, don't. Unless you have a specific need for this, you likely don't need it ;)\n\nI created this allocator (POSIX systems only right now) for the purpose of single, *very* large allocations. Think lots and lots of math with hundreds of gigabytes in each array.\n\nIt is advised that you use ReleaseFast/ReleaseSmall when using this library. This is because the allocated memory is set to `undefined` by the Allocator interface, which may take a while for large allocations.\n\n```zig\nconst std = @import(\"std\");\nconst Allocator = std.mem.Allocator;\nconst falloc = @import(\"falloc\");\n\npub fn main() !void {\n    const gpa: Allocator = falloc.allocator;\n\n    // 256 GiB of memory to work with\n    const mem = try gpa.alloc(u8, 1 \u003c\u003c 38);\n    defer gpa.free(mem);\n\n    // In a real-world use case scenario, this would be better utilized.\n    const hello = \"Hello, World!\\n\";\n    @memcpy(mem[0..hello.len], hello);\n    std.debug.print(\"{s}\", .{mem[0..hello.len]});\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fretrodev256%2Ffalloc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fretrodev256%2Ffalloc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fretrodev256%2Ffalloc/lists"}