2 ms·
I guess the claim was that such an erlang actor would run forever when nobody sends it a message to stop it. And with pony it would be detected that the actor i
by Matthias247 12y ago
I guess the claim was that such an erlang actor would run forever when nobody sends it a message to stop it. And with pony it would be detected that the actor is no longer reachable and it would be automatically stopped.
- SnowyOwl 12y agoIndeed, Pony can automatically detect actors with empty stacks and message queues, also when these are part of a cycle.
- rdtsc 12y agoErlang has something like that as well: http://erldocs.com/17.3/erts/erlang.html#hibernate/3 http://erldocs.com/17.3/erts/erlang.html#hibernate/3 Hibernate compresses the current memory, save it and then kill the active process. Then if a message is sent to it, it "wakes" up.