{"id":18829462,"url":"https://github.com/michaeladler/aoc-2020","last_synced_at":"2026-01-23T16:30:21.431Z","repository":{"id":145747380,"uuid":"473701666","full_name":"michaeladler/aoc-2020","owner":"michaeladler","description":"My solutions for the Advent of Code 2020","archived":false,"fork":false,"pushed_at":"2022-03-24T21:33:55.000Z","size":198,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-30T06:25:04.283Z","etag":null,"topics":["advent-of-code","advent-of-code-2020","aoc","aoc2020","lua"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaeladler.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-03-24T17:11:01.000Z","updated_at":"2022-05-03T14:33:02.000Z","dependencies_parsed_at":"2023-04-22T06:33:43.063Z","dependency_job_id":null,"html_url":"https://github.com/michaeladler/aoc-2020","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeladler%2Faoc-2020","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeladler%2Faoc-2020/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeladler%2Faoc-2020/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeladler%2Faoc-2020/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaeladler","download_url":"https://codeload.github.com/michaeladler/aoc-2020/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239765169,"owners_count":19693091,"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-2020","aoc","aoc2020","lua"],"created_at":"2024-11-08T01:44:53.979Z","updated_at":"2026-01-23T16:30:21.319Z","avatar_url":"https://github.com/michaeladler.png","language":"Lua","readme":"[![CI](https://github.com/michaeladler/aoc-2020/actions/workflows/ci.yml/badge.svg)](https://github.com/michaeladler/aoc-2020/actions/workflows/ci.yml)\n\n# AoC 2020\n\nMy second [Advent of Code](https://adventofcode.com/2020) event.\nThis year I used [LuaJIT](https://luajit.org/).\n\n## Lessons Learned\n\n* LuaJIT is amazingly fast (the fastest scripting language as of 2020)\n* [luaprompt](https://github.com/dpapavas/luaprompt) is great for rapid prototyping\n* Lack of 64-bit integers in LuaJIT can be a problem\n  **Workarounds**:\n    * use a shared library (e.g. written in C) and use LuaJIT's awesome FFI.\n    * use Lua 5.4 which is quite fast too\n* It is rather annoying that tables cannot be used as keys in other tables; use hacks like `string.format` to serialize the table and use it as a key\n* Lua's default behavior to return `nil` instead of an out-of-bounds error for accessing non-existing table keys is *great*\n* [Penlight's](http://stevedonovan.github.io/Penlight/api/index.html) most useful feature was the `__tostring` implementations for tables (which helped a lot in the REPL)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeladler%2Faoc-2020","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaeladler%2Faoc-2020","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeladler%2Faoc-2020/lists"}