Hacker News new | ask | show | jobs
by adambrod 667 days ago
I really rooting for the Riot framework. It's based on the actor model and makes using multi core in OCaml a breeze.
1 comments

Well its feature list seems positively delightful: https://github.com/riot-ml/riot !

Basically, it seems, it's Erlang for OCaml. Hot reloading would be a cool feature, though, but I can see why it's not implemented, at least not yet.. I recall the OCaml native toplevel is able to load code in dynamically, so that could be the mechanism to do it.

It seems to use open types for handling messages (per just looking at https://github.com/riot-ml/riot/tree/main/examples/3-message...) reducing the benefits of exhaustiveness checking, but it still seems rather interesting!