{"id":29428790,"url":"https://github.com/brianferri/zig-fib","last_synced_at":"2026-03-06T02:13:48.769Z","repository":{"id":288139254,"uuid":"966819038","full_name":"brianferri/zig-fib","owner":"brianferri","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-09T16:42:58.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-09T20:00:55.927Z","etag":null,"topics":["fibonacci-sequence"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/brianferri.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":"2025-04-15T13:56:50.000Z","updated_at":"2025-09-09T16:43:01.000Z","dependencies_parsed_at":"2025-05-05T14:25:22.369Z","dependency_job_id":"18c3f5ba-6c42-4422-911e-7e0d6c59312d","html_url":"https://github.com/brianferri/zig-fib","commit_stats":null,"previous_names":["brianferri/zig-fib"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brianferri/zig-fib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianferri%2Fzig-fib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianferri%2Fzig-fib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianferri%2Fzig-fib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianferri%2Fzig-fib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brianferri","download_url":"https://codeload.github.com/brianferri/zig-fib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianferri%2Fzig-fib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30159052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"online","status_checked_at":"2026-03-06T02:00:08.268Z","response_time":250,"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":["fibonacci-sequence"],"created_at":"2025-07-12T15:19:34.000Z","updated_at":"2026-03-06T02:13:48.741Z","avatar_url":"https://github.com/brianferri.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zig-fib\n\nZig implementation of [Fibsonisheaf](https://github.com/SheafificationOfG/Fibsonisheaf/)\n\n## Build \u0026\u0026 run\n\n\u003e [!NOTE]\n\u003e Default (if not specified) will be the `naive` implementation\n\n```sh\nzig build -Doptimize=ReleaseFast -Dimplementation=linear run\n```\n\n\u003e using `Debug` mode will not work as it has safety measures against integer overflows, which have yet to be patched\n\nYou may also calculate a single fibonacci number by passing it's index as an argument\n\n```sh\nzig build -Doptimize=ReleaseFast -Dimplementation=fastexp run -- 4000000\n```\n\n## Inspecting assembly\n\n```sh\nzig build -Doptimize=ReleaseFast -Dimplementation=linear asm\n```\n\nwill generate a `[implementation]_[optimize].s` file under `zig-out/asm`\n\n## Flags\n\nsome additional flags you may use are:\n\n| Flag                   | Description                       |\n| ---------------------- | --------------------------------- |\n| -Dprint_numbers=[bool] | print the numbers in the output   |\n| -Duse_csv_fmt=[bool]   | print the output using csv format |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianferri%2Fzig-fib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianferri%2Fzig-fib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianferri%2Fzig-fib/lists"}