Registry / async / caf
library1.1.0vcpkgunverified

an open source implementation of the actor model for C++ featuring lightweight & fast actor implementations, pattern matching for messages, network transparent messaging, and more.

vcpkg install caf
INSTALL
IMPORT
SIG · CAF
C
caf
asynccppv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

caf/all.hpp
#include <caf/all.hpp>

Spawn an actor and send a message

#include <caf/all.hpp> #include <iostream> using namespace caf; behavior simple_actor(event_based_actor* self) { return { [=](const std::string& msg) { std::cout << "Received: " << msg << std::endl; } }; } int main() { actor_system_config cfg; actor_system system{cfg}; auto actor = system.spawn(simple_actor); anon_send(actor, std::string("Hello, CAF!")); return 0; }
Debug
Known issues
breakingCAF requires C++17 or later; older standards are not supported.
fix
Set CMAKE_CXX_STANDARD to 17 or higher.
affects: >=1.0
Upgrade
Version history
1.1.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
30
Resources

No resource links recorded.

caf — pip install caf · libregistry