Joerl - a Rust library aiming to mimic Erlang actor model

This is not exactly elixir library announcement, but I think it might be useful for alchemists.

For some good, I needed an actor model in Rust. The standard de facto in Rust world seemed to be actix, which 102% follows Rust approach and introduces typed messages. I had plans to marry Rust nodes and Erlang nodes via epmd-like middleware, and I thought “why wouldn’t I improve my Rust skills by writing a library?”

I did. As a github page says, joerl is

An Erlang-inspired actor model library for Rust, named in tribute to Joe Armstrong, the creator of Erlang.

I made my best to mimic OTP behaviour (and terminology,) I implemented my own epmd server (which is not yet ready to connect erlang nodes, but it eventually will. Even gen_statem got “ported” (with mermaid syntax for definition, of course.)

My humble work on Cure language met a lot of rejection due to AI involvement, so I state it upfront: I use AI for documentation and partially for tests (and surely for the website/html stuff.) The code I still tend to produce myself because I basically love writing code.

Comments and suggestions are very welcome.

▸ docs joerl - Rust (did you know rust docs do not allow to embed standalone markdown pages? — I now know)

▸ crate crates.io: Rust Package Registry

▸ code GitHub - am-kantox/joerl: An Erlang-inspired actor model library for Rust

▸ examples joerl/joerl/examples at main · am-kantox/joerl · GitHub

Enjoy.

10 Likes