{"id":13439027,"url":"https://github.com/alibaba/hiactor","last_synced_at":"2026-03-07T06:02:27.734Z","repository":{"id":37398945,"uuid":"490529025","full_name":"alibaba/hiactor","owner":"alibaba","description":"Hiactor is a distributed C++ actor framework.","archived":false,"fork":false,"pushed_at":"2024-06-14T09:02:12.000Z","size":168,"stargazers_count":115,"open_issues_count":6,"forks_count":17,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-10-14T08:47:17.852Z","etag":null,"topics":["actor-framework","actor-model","async","c-plus-plus","distributed","event-driven","seastar"],"latest_commit_sha":null,"homepage":"","language":"C++","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/alibaba.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-05-10T03:31:31.000Z","updated_at":"2025-10-08T07:33:53.000Z","dependencies_parsed_at":"2023-01-20T21:18:07.311Z","dependency_job_id":"15a8f5f3-6c9d-47e2-9df4-952f1c0a7979","html_url":"https://github.com/alibaba/hiactor","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/alibaba/hiactor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fhiactor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fhiactor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fhiactor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fhiactor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alibaba","download_url":"https://codeload.github.com/alibaba/hiactor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fhiactor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30208801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["actor-framework","actor-model","async","c-plus-plus","distributed","event-driven","seastar"],"created_at":"2024-07-31T03:01:10.538Z","updated_at":"2026-03-07T06:02:27.708Z","avatar_url":"https://github.com/alibaba.png","language":"C++","readme":" Hiactor\n=======\n\nWhat is Hiactor\n------------\n\nHiactor is an open-source hierarchical [actor](https://en.wikipedia.org/wiki/Actor_model)\nframework for building high-performance，concurrent and scalable event-driven\nsystems using C++. Hiactor features a light-weight and ease-of-use distributed implementation\nof the actor model with concepts like *object*, *reference* and *future/promise*.\nWith Hiactor, developers familiar with single-server programming can experience\na seamless transition to the distributed environments.\n\n\nBuilding Hiactor\n----------------\n\nRequirements:\n\n- A compiler with good C++17 support (e.g. gcc \u003e= 9.0). This was tested successfully on g++ 9.4.0.\n- A higher version linux system is recommended. This was tested successfully on Ubuntu 20.04.\n- CMake \u003e= 3.13.1\n\nHiactor has a dependency of [Seastar](https://github.com/scylladb/seastar).\nBefore building Hiactor, update the project submodules and install dependencies\nfor Seastar:\n\n```shell\n$ git submodule update --init --recursive\n$ sudo ./seastar/seastar/install-dependencies.sh\n```\n\nNext, build Hiactor as follows:\n\n```shell\n$ mkdir build\n$ cd build\n$ cmake [OPTIONS] ..\n$ make\n$ make install\n```\n\nThe following cmake options can be specified:\n* `Hiactor_DEBUG`: Build Hiactor with debug mode. Default is `OFF`.\n* `Hiactor_INSTALL`: Enable installing Hiactor targets. Default is `ON`.\n* `Hiactor_DEMOS`: Enable demos of Hiactor. Default is `ON`.\n* `Hiactor_TESTING`: Enable tests of Hiactor. Default is `ON`.\n* `Hiactor_GPU_ENABLE`: Enable gpu devices for Hiactor (Cuda environments required!) Default is `OFF`.\n* `Hiactor_DPDK`: Enable DPDK support for Hiactor. Default is `OFF`.\n* `Hiactor_CXX_DIALECT`: Specify the C++ dialect for Hiactor. Default is `gnu++17`.\n* `Hiactor_CXX_FLAGS`: Specify other compilation flags for Hiactor.\n* `Hiactor_COOK_DEPENDENCIES`: Whether to download and build Seastar's dependencies for use if you don't\nwant to use system packages (RPMs or DEBs). Default is `OFF`.\n* `Hiactor_COOK_EXCLUDES`: A semicolon-separated list of dependency names to exclude from building if\n`Hiactor_COOK_DEPENDENCIES` is enabled.\n* `Hiactor_CPU_STALL_REPORT`: Enable warning reports at cpu stalls. Default is `OFF`.\n* `Hiactor_UNUSED_RESULT_ERROR`: Make [[nodiscard]] violations an error (instead of a warning). Default is `OFF`.\n\nSeastar is embedded with `add_subdirectory` in hiactor, you can add\ncmake options of Seastar directly when configuring. Note that the apps,\ndemos, docs and tests of Seastar are disabled in its embedding mode,\nbesides, `Seastar_CXX_DIALECT` will be overridden by `Hiactor_CXX_DIALECT`\nand `Seastar_DPDK` will be overridden by `Hiactor_DPDK`.\n\nAn example cmake options:\n\n```shell\n$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DHiactor_CXX_DIALECT=gnu++17 \\\n    -DHiactor_TESTING=OFF -DSeastar_CXX_FLAGS=\"-DSEASTAR_DEFAULT_ALLOCATOR\" ..\n```\n\nGetting started\n---------------\n\nFollow the [tutorial](docs/tutorial.md) to understand how to use Hiactor.","funding_links":[],"categories":["HarmonyOS","Projects"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falibaba%2Fhiactor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falibaba%2Fhiactor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falibaba%2Fhiactor/lists"}