2 ms·
The way i see it : Object is the association of some functions with a state Actor is the association of object with an execution thread. So, actor = bounded
by bsaul 7y ago
The way i see it :
Object is the association of some functions with a state
Actor is the association of object with an execution thread.
So, actor = bounded (functions , state , thread) (thread in the sense of execution thread, not necesseraly an OS thread).
With this definition, actors can't "share" a thread, and so need to communicate through asynchronous message passing / function invocation.