I have been trying to understand how actor model and web workers work.
In https://dzone.com/articles/html5-web-workers-classic: "Web Workers provide a message-passing model, where scripts can communicate only through well-defined immutable messages, do not share any data, and do not use synchronization mechanisms for signaling or data integrity."
To me, it sounds very similar to actor model. Is there a difference?
UPDATE: According to Benjamin Erb:
" The fundamental idea of the actor model is to use actors as concurrent primitives that can act upon receiving messages in different ways:
1.Send a finite number of messages to other actors.
2. Spawn a finite number of new actors.
3. Change its own internal behavior, taking effect when the next incoming message is handled."
The first two apply, but how about the last one?