{"id":15099826,"url":"https://github.com/ziteh/zig-learn-it24","last_synced_at":"2026-01-30T01:36:15.234Z","repository":{"id":254521171,"uuid":"840075053","full_name":"ziteh/zig-learn-it24","owner":"ziteh","description":"Zig 程式語言範例（iThome 2024 鐵人賽）","archived":false,"fork":false,"pushed_at":"2024-09-28T02:53:21.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T00:17:33.093Z","etag":null,"topics":["examples","ithome","zig","ziglang"],"latest_commit_sha":null,"homepage":"https://blog.ziteh.dev/categories/zig-%E5%85%A5%E9%96%80%E6%8C%87%E5%8D%97%EF%BC%88%E9%90%B5%E4%BA%BA-24-%EF%BC%89/","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ziteh.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-08-08T23:26:21.000Z","updated_at":"2024-09-28T02:53:25.000Z","dependencies_parsed_at":"2024-09-14T17:49:39.099Z","dependency_job_id":null,"html_url":"https://github.com/ziteh/zig-learn-it24","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"c3c6a7080c5c69081350150bd53bb6f309f61b5c"},"previous_names":["ziteh/zig-learn-it24"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziteh%2Fzig-learn-it24","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziteh%2Fzig-learn-it24/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziteh%2Fzig-learn-it24/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziteh%2Fzig-learn-it24/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziteh","download_url":"https://codeload.github.com/ziteh/zig-learn-it24/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245858876,"owners_count":20684057,"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":["examples","ithome","zig","ziglang"],"created_at":"2024-09-25T17:27:56.863Z","updated_at":"2026-01-30T01:36:10.192Z","avatar_url":"https://github.com/ziteh.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zig 語言入門指南\n\n[Zig](https://ziglang.org/) 是一個很新的通用程式語言，是靜態強型別的程序式編程語言。它在保留了 C 語言使用者最喜歡且熟悉的低階操作的同時，又藉鑒並加入了不少類似 Rust 的現代語法。主打強健、最佳化和重複利用。\n\n\u003e 這是我參加 2024 iThome 鐵人賽的文章：[Zig 語言入門指南——聽説你是現代化的 C](https://ithelp.ithome.com.tw/users/20151756/ironman/7460) 的程式碼庫。該系列文也同時發佈在我的 Blog：[Zig 入門指南（鐵人 24）](https://blog.ziteh.dev/categories/zig-%E5%85%A5%E9%96%80%E6%8C%87%E5%8D%97%EF%BC%88%E9%90%B5%E4%BA%BA-24-%EF%BC%89/)\n\n## 用法\n\n在本地執行這些程式（[安裝好 Zig 後](https://ziglang.org/download/)）：\n\n```sh\ngit clone https://github.com/ziteh/zig-learn-it24.git\ncd zig-learn-it24\nbash run_all.sh\n```\n\n如果你不想自己執行的話，可以查看 [Action: Run Zig](https://github.com/ziteh/zig-learn-it24/actions/workflows/zig.yml)，瞭解這些程式會輸出什麼樣的結果\n\n\u003e [!NOTE]\n\u003e Zig version: `0.13.0`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziteh%2Fzig-learn-it24","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziteh%2Fzig-learn-it24","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziteh%2Fzig-learn-it24/lists"}