In this guide, we explore modeling actors in Ractor similar to Erlang’s practices. You can install Ractor by adding it to your dependencies. Start with a simple “Hello world” actor that prints the message for each received message. Define the actor’s behavior, startup routine, and message handling. We then add state to the actor to keep track of the number of times “Hello world” is printed. Learn about RPCs for actor communication and use handy macros like call_t! to simplify messaging. Finally, wire everything together in a program and see the actor in action. Check out the provided code snippets for a detailed walkthrough.
https://slawlor.github.io/ractor/quickstart/