Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Indeed, Pony can automatically detect actors with empty stacks and message queues, also when these are part of a cycle.


Erlang has something like that as well:

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: