Hacker News new | ask | show | jobs
by tright 4058 days ago
The lack of actor examples in the documentation for an actor-based language is really surprising.

Anyway, there is only a send construct (essentially a remote procedure call that returns no value) but no receive construct. Here's an example of passing data in a ring: https://github.com/CausalityLtd/ponyc/blob/master/examples/r...

As there is no blocking receive, no immediate way of breaking this came to my mind, although I had the same initial thought.