3 ms·
I really rooting for the Riot framework. It's based on the actor model and makes using multi core in OCaml a breeze.
by adambrod 2y ago
I really rooting for the Riot framework. It's based on the actor model and makes using multi core in OCaml a breeze.
- _flux 2y agoWell its feature list seems positively delightful: https://github.com/riot-ml/riot 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-passing https://github.com/riot-ml/riot/tree/main/examples/3-message...) reducing the benefits of exhaustiveness checking, but it still seems rather interesting!