{"id":22916386,"url":"https://github.com/timstricker/aoc2024","last_synced_at":"2025-04-01T12:43:30.624Z","repository":{"id":266226970,"uuid":"897746410","full_name":"TimStricker/aoc2024","owner":"TimStricker","description":"Advent of Code 2024 in Zig","archived":false,"fork":false,"pushed_at":"2024-12-15T17:50:43.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T07:31:43.981Z","etag":null,"topics":["advent-of-code","advent-of-code-2024","advent-of-code-in-zig","advent-of-code-zig","aoc","aoc-2024","aoc2024","zig","ziglang"],"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/TimStricker.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":"2024-12-03T06:58:16.000Z","updated_at":"2024-12-15T17:50:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6454460-3358-4c40-9a3b-f6067215c899","html_url":"https://github.com/TimStricker/aoc2024","commit_stats":null,"previous_names":["timstricker/aoc2024"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimStricker%2Faoc2024","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimStricker%2Faoc2024/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimStricker%2Faoc2024/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimStricker%2Faoc2024/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimStricker","download_url":"https://codeload.github.com/TimStricker/aoc2024/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246642099,"owners_count":20810545,"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","advent-of-code-2024","advent-of-code-in-zig","advent-of-code-zig","aoc","aoc-2024","aoc2024","zig","ziglang"],"created_at":"2024-12-14T06:12:39.897Z","updated_at":"2025-04-01T12:43:30.569Z","avatar_url":"https://github.com/TimStricker.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2024\n\nMy attempt to solve AoC 2024 in [Zig](https://github.com/ziglang/zig/). I am not\nyet super familiar with the language, so don't expect the most beautiful,\nidiomatic Zig code. This is really just me trying to learn.\n\n## Supported Zig version\n\nI'm using the nightly version of Zig to solve these tasks. At the time of\nwriting, this is `0.14.0-dev.2465+70de2f3a7`. Note that Zig is still in active\ndevelopment and new versions might have braking changes, so it is not guaranteed\nthat the code works with any other version.\n\n## How to run\n\nYou can find the solution for each day in the `dayXY` directories. They are all\nself-contained and can simply be executed using `zig run`. \n\nAs an example, here you can see how to run the solution to day 1:\n\n```\n$ zig run day01/main.zig\nTotal distance: 2742123\nSimilarity score: 21328497\nTask took 8 ms to complete.\n```\n\n**Note:** At the moment, the applications assume they are being called from the\nrepository root. If you call them from anywhere else, they won't be able to find\nthe input for the day. I might fix this in the future.\n\nBasically all of the solutions contain some tests with the sample input, you\ncan run these using `zig test \u003cdayXY\u003e/main.zig`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimstricker%2Faoc2024","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimstricker%2Faoc2024","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimstricker%2Faoc2024/lists"}