mudasobwa

mudasobwa

Creator of Cure

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 · GitHub

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

Enjoy.

https://github.com/am-kantox/joerl

Where Next?

Popular in Discussions Top

andre1sk
A big advantage to Elixir is all the distributed goodness but for many applications running on multiple nodes having integrated Etcd, Zoo...
New
Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New
WolfDan
After doing a port from a c++ library to my project in phoenix I’ve seen that I need a faster way to run this algorithm and I found this ...
New
crispinb
On reading dhh’s latest The One Person Framework it strikes me that Phoenix with LiveView is already pretty much this. However, never hav...
New
AlexMcConnell
The reason that Rails is as popular as it is is because it’s very easy for relatively inexperienced developers to get a lot of work done....
588 19568 166
New
marciol
Please, let me know if this kind of discussion already took place in another topic . Hi all, how do you consider if is better to build ...
New
eteeselink
Hi all, In the last days, two things happened: A blog post titled “They might never tell you it’s broken” made the rounds. It’s about ...
New
ben-pr-p
In general I’ve been sticking to this community style guide GitHub - christopheradams/elixir_style_guide: A community driven style guide ...
New
scouten
I’m looking for a host for the server part of a small (personal) side project that I’m working on. It’s currently written in Node.js and ...
New
opsb
We’re considering our architecture from a viewpoint of scaling our traffic heavily over the next 6 months. Our current deployment is runn...
New

Other popular topics Top

TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 41539 114
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 126479 1222
New

We're in Beta

About us Mission Statement