2 ms·
It's not supported in the core language but we have some type safe bindings to messages and message passing as libraries. We may upgrade these to being part of
by lpil 6y ago
It's not supported in the core language but we have some type safe bindings to messages and message passing as libraries. We may upgrade these to being part of the language itself but I don't want to rush this and get stuck with a sub-optimal design.
- mtarnovan 6y agoThis is a very interesting project, thanks. I'd love to see how you solve the problem of typed message passing in the language itself.
- lpil 6y agoThese two libraries are probably the best to look at: https://github.com/gleam-experiments/otp_agent https://github.com/gleam-experiments/otp_agent https://github.com/gleam-experiments/otp_process https://github.com/gleam-experiments/otp_process They could be improved but they are good enough for us to get started with.