Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: ex_actor – New C++ Actor Framework Based on `std:execution` (github.com/ex-actor)
3 points by lixin_wei 11 days ago | hide | past | favorite | discuss
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 :)





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: