ReScript actor model libraries?

Has anyone used an actor library/framework in a rescript app? Frontend? Backend?

I’ve worked a little on rescript xstate bindings in the past, but never really got it off the ground. Could be a great way to use actors in rescript if the bindings were good.

1 Like

There is Nact, https://nact.xyz/

I’ve used it experimentally, not in production though.

Note, it says ReasonML but I don’t think it has anything that would prevent it from working with ReScript. It’s probably more that its creator doesn’t have time to work on it.

2 Likes

forgot about nact. The Rescript bindings are here. https://github.com/ncthbrt/reason-nact

Pretty cool to see actors being used in some form in the node world.

I have finished migrating it to ReScript. However, rescript-react has not been released yet.