Story

Show HN: ex_actor – New C++ Actor Framework Based on `std:execution`

lixin_wei Tuesday, December 02, 2025

Hi everyone, I built a new actor framework based on `std::execution`.

This framework turns your C++ class into a stateful async service by one line of code. All method calls to it will be queued and executed sequentially, you don't need any locks in your class. It offers a simple way to build highly concurrent programs - just write plain classes.

Compared to other C++ actor frameworks, it has cleaner non-intrusive API, pluggable scheduler, and can compose with everthing in the `std::execution` ecosystem.

It only requires C++20, the core functionality is tested in our company's production, feel free to have a try.

I'll appreciate it if you could have a look. Any question/feedback/criticism is appreciated. Leave a star if you find it's interesting, it'll encourage me a lot :)

1 0
github.com
Visit article Read on Hacker News