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

One thing required for an Actor model that is missing from greenlets and Python in general is the ability to have isolated contexts. Basically, each Actor should have its own global state and shouldn't be able to share state with any mechanism other than message passing.

In Python with greenlets, state can leak between green threads through module globals and other module state.



Well, greenlets can and do have their own isolated contexts, but you're right, they can indeed leak state. Thanks for the clarification.




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

Search: