{"id":22441191,"url":"https://github.com/drewsilcock/aoc24-zig","last_synced_at":"2025-03-27T09:45:20.573Z","repository":{"id":266523305,"uuid":"898156451","full_name":"drewsilcock/aoc24-zig","owner":"drewsilcock","description":"Advent of Code 2024 in Zig","archived":false,"fork":false,"pushed_at":"2024-12-19T17:35:20.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T14:45:31.149Z","etag":null,"topics":["advent-of-code","zig"],"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/drewsilcock.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":"2024-12-03T22:19:26.000Z","updated_at":"2024-12-19T17:35:24.000Z","dependencies_parsed_at":"2025-02-07T16:45:34.735Z","dependency_job_id":null,"html_url":"https://github.com/drewsilcock/aoc24-zig","commit_stats":null,"previous_names":["drewsilcock/aoc24-zig"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewsilcock%2Faoc24-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewsilcock%2Faoc24-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewsilcock%2Faoc24-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewsilcock%2Faoc24-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drewsilcock","download_url":"https://codeload.github.com/drewsilcock/aoc24-zig/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245822389,"owners_count":20678165,"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":["advent-of-code","zig"],"created_at":"2024-12-06T02:13:20.184Z","updated_at":"2025-03-27T09:45:20.551Z","avatar_url":"https://github.com/drewsilcock.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code in Zig\n\nImplementing [Advent of Code 2024](https://adventofcode.com/2024) in Zig.\n\n**Disclaimer:** This is the first time I've written Zig so it's probably not using best practices and whatnot. Any helpful feedback welcome 😎\n\n## Getting started\n\nFirst, [Install zig](https://ziglang.org/learn/getting-started/), e.g. `brew install zig`.\n\nTo run a particular day challenge:\n\n```bash\n# In debug mode\nzig run src/main.zig -- \u003cday n#\u003e\n\n# In release mode\nzig build -Doptimize=ReleaseFast\n./zig-out/bin/aoc24 \u003cday n#\u003e\n```\n\n## Benchmarks\n\nBenchmarks from running on my M3 Pro:\n\n| Challenge | Status | Time (mean ± σ) | Range (min … max) | Details |\n| --------- | ------ | --------------- | ----------------- | ------- |\n|        #1 |   Done | 8.1 ms ± 0.5 ms |  3.5 ms … 22.3 ms | User: 2.0 ms, System: 5.7 ms, Runs: 353 |\n|        #2 |   Todo |                 |                   | |\n|        #3 |   Todo |                 |                   | |\n|        #4 |   Todo |                 |                   | |\n|        #5 |   Todo |                 |                   | |\n|        #6 |   Todo |                 |                   | |\n|        #7 |   Todo |                 |                   | |\n|        #8 |   Todo |                 |                   | |\n|        #9 |   Todo |                 |                   | |\n|       #10 |   Todo |                 |                   | |\n|       #11 |   Todo |                 |                   | |\n|       #12 |   Todo |                 |                   | |\n|       #13 |   Todo |                 |                   | |\n|       #14 |   Todo |                 |                   | |\n|       #15 |   Todo |                 |                   | |\n|       #16 |   Todo |                 |                   | |\n|       #17 |   Todo |                 |                   | |\n|       #18 |   Todo |                 |                   | |\n|       #19 |   Todo |                 |                   | |\n|       #20 |   Todo |                 |                   | |\n|       #21 |   Todo |                 |                   | |\n|       #22 |   Todo |                 |                   | |\n|       #23 |   Todo |                 |                   | |\n|       #24 |   Todo |                 |                   | |\n|       #25 |   Todo |                 |                   | |\n\n(Note: benchmarks run using `hyperfine -N --warmup 5 './zig-out/bin/aoc24 \u003cday n#\u003e'`.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewsilcock%2Faoc24-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewsilcock%2Faoc24-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewsilcock%2Faoc24-zig/lists"}