{"id":15047667,"url":"https://github.com/toxe/cpp-coroutines","last_synced_at":"2026-03-17T09:33:55.339Z","repository":{"id":253845935,"uuid":"842064715","full_name":"Toxe/cpp-coroutines","owner":"Toxe","description":"C++ Coroutines","archived":false,"fork":false,"pushed_at":"2024-09-10T13:08:10.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T17:17:06.609Z","etag":null,"topics":["coroutines","cpp","cpp-coroutines","cpp20","cpp23","generator"],"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/Toxe.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-13T15:44:18.000Z","updated_at":"2024-09-10T13:11:05.000Z","dependencies_parsed_at":"2024-08-22T07:41:08.013Z","dependency_job_id":null,"html_url":"https://github.com/Toxe/cpp-coroutines","commit_stats":null,"previous_names":["toxe/cpp-coroutines"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fcpp-coroutines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fcpp-coroutines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fcpp-coroutines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fcpp-coroutines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Toxe","download_url":"https://codeload.github.com/Toxe/cpp-coroutines/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243489777,"owners_count":20298997,"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":["coroutines","cpp","cpp-coroutines","cpp20","cpp23","generator"],"created_at":"2024-09-24T21:02:42.464Z","updated_at":"2025-12-28T10:02:36.124Z","avatar_url":"https://github.com/Toxe.png","language":"C++","readme":"# C++ Coroutines\n\nC++ coroutine examples and library comparisons.\n\n## Compiler Support\n\n| System  | Compiler | Status                          |\n| ------- | -------- | ------------------------------- |\n| Linux   | GCC      | OK                              |\n| Linux   | Clang    | `cppcoro` CMake configure error |\n| Windows | MSVC     | OK                              |\n| Windows | Clang-cl | `cppcoro` compile errors        |\n\n## MSVC\n\n|  ns/op |           op/s | err% | total | benchmark                 |\n| -----: | -------------: | ---: | ----: | :------------------------ |\n| 347.17 |   2,880,445.80 | 3.5% |  0.01 | `cppcoro: simple_tasks`   |\n| 436.46 |   2,291,147.13 | 1.1% |  0.01 | `libcoro: simple_tasks`   |\n| 166.92 |   5,990,983.18 | 0.2% |  0.01 | `manual: simple_tasks`    |\n|   1.20 | 835,937,051.56 | 2.4% |  0.01 | `reference: simple_tasks` |\n\n|  ns/op |           op/s | err% | total | benchmark              |\n| -----: | -------------: | ---: | ----: | :--------------------- |\n| 154.23 |   6,484,003.01 | 1.2% |  0.01 | `cppcoro: fibonacci`   |\n| 170.62 |   5,861,059.36 | 0.6% |  0.01 | `libcoro: fibonacci`   |\n|  69.64 |  14,358,785.65 | 0.5% |  0.01 | `manual: fibonacci`    |\n|   7.50 | 133,337,000.68 | 0.9% |  0.01 | `reference: fibonacci` |\n\n|    ns/op |         op/s | err% | total | benchmark                                            |\n| -------: | -----------: | ---: | ----: | :--------------------------------------------------- |\n| 3,988.80 |   250,701.77 | 1.2% |  0.01 | `cppcoro generator: finite_counter (iterator)`       |\n| 3,991.27 |   250,546.83 | 1.8% |  0.01 | `cppcoro generator: finite_counter (range-for)`      |\n| 3,805.26 |   262,793.91 | 0.3% |  0.01 | `cppcoro generator: infinite_counter`                |\n| 3,677.57 |   271,918.68 | 1.3% |  0.01 | `libcoro generator: finite_counter (iterator)`       |\n| 3,745.11 |   267,014.66 | 2.0% |  0.01 | `libcoro generator: finite_counter (range-for)`      |\n| 3,218.10 |   310,742.54 | 1.1% |  0.01 | `libcoro generator: infinite_counter`                |\n| 3,141.80 |   318,288.55 | 0.4% |  0.01 | `manual generator: finite_counter (iterator)`        |\n| 3,013.14 |   331,879.39 | 0.8% |  0.01 | `manual generator: finite_counter (range-for)`       |\n| 3,327.68 |   300,509.34 | 1.5% |  0.01 | `manual generator: finite_counter`                   |\n| 2,920.77 |   342,375.29 | 2.1% |  0.01 | `manual generator: infinite_counter`                 |\n|   242.25 | 4,127,918.19 | 4.0% |  0.01 | `reference generator: finite_counter`                |\n|   236.82 | 4,222,689.08 | 1.3% |  0.01 | `reference generator: infinite_counter`              |\n| 3,680.00 |   271,739.13 | 0.9% |  0.01 | `std::generator: finite_counter (iterator)`          |\n| 3,634.17 |   275,166.05 | 0.2% |  0.01 | `std::generator: finite_counter (range-for)`         |\n| 3,277.56 |   305,104.64 | 0.1% |  0.01 | `std::generator: infinite_counter`                   |\n| 3,669.04 |   272,550.92 | 2.0% |  0.01 | `concurrencpp generator: finite_counter (iterator)`  |\n| 3,888.67 |   257,157.55 | 0.9% |  0.01 | `concurrencpp generator: finite_counter (range-for)` |\n| 3,334.95 |   299,854.44 | 0.9% |  0.01 | `concurrencpp generator: infinite_counter`           |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoxe%2Fcpp-coroutines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoxe%2Fcpp-coroutines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoxe%2Fcpp-coroutines/lists"}