{"id":15394956,"url":"https://github.com/kassane/asio-zig","last_synced_at":"2025-04-15T23:53:41.903Z","repository":{"id":172754118,"uuid":"649707952","full_name":"kassane/asio-zig","owner":"kassane","description":"asio (standalone) event-loop to C API - Experimental (uses zig 0.12.0)","archived":false,"fork":false,"pushed_at":"2025-01-25T14:42:13.000Z","size":30,"stargazers_count":4,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T03:04:41.726Z","etag":null,"topics":["asio","asio-library","asynchronous","c","concurrency","cplusplus","cpp","ffi-bindings","threading","zig"],"latest_commit_sha":null,"homepage":"","language":"C++","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/kassane.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}},"created_at":"2023-06-05T13:12:39.000Z","updated_at":"2025-01-25T14:42:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d3fb49a-f192-4950-94b5-fc1223303594","html_url":"https://github.com/kassane/asio-zig","commit_stats":null,"previous_names":["kassane/asio_c_wrapper","kassane/asio-zig"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fasio-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fasio-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fasio-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fasio-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kassane","download_url":"https://codeload.github.com/kassane/asio-zig/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249173061,"owners_count":21224481,"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":["asio","asio-library","asynchronous","c","concurrency","cplusplus","cpp","ffi-bindings","threading","zig"],"created_at":"2024-10-01T15:25:02.494Z","updated_at":"2025-04-15T23:53:41.879Z","avatar_url":"https://github.com/kassane.png","language":"C++","readme":"# Asio-zig (C Wrapper) - Event-loop\n\nThe wrapper provides functions for initializing the ASIO library, running it, stopping it, and posting tasks to be executed asynchronously within the event-loop. It handles the necessary conversions and memory management required to interface with ASIO from C or Zig code. Additionally, it utilizes ASIO's thread pool (`asio::static_thread_pool`) for multithreading support, allowing tasks to be executed concurrently on multiple threads.\n\n\n### How to build and run\n\n* Need [zig 0.13.0](https://ziglang.org/download) or master.\n\n```bash\n# Zig binding test (only)\n$\u003e zig build test\n\n# Build all C examples\n$\u003e zig build -Doptimize={option} # to debug no need `-Doptimize` flag\n```\n**Note:** `{option} == Debug (default) | ReleaseSafe | ReleaseFast | ReleaseSmall`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkassane%2Fasio-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkassane%2Fasio-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkassane%2Fasio-zig/lists"}