Re:No More Callbacks: 10,000 Actors, 10,000 Threads, 10,000 ...
by fzzzy on Wednesday October 16, 2013 @06:09PM
(#6562414)
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.
In Python with greenlets, state can leak between green threads through module globals and other module state.