2 ms·
> Unless you use Erlang or OS processes you are sharing memory. Actually, even actor-based systems share memory. If two actors A and B send a message to an act
by laureny 12y ago
> Unless you use Erlang or OS processes you are sharing memory.
Actually, even actor-based systems share memory. If two actors A and B send a message to an actor C and expect a response from it, they are sharing memory: what's in C's state. Which can be different depending on whether C received A's message first or not.
- rdtsc 12y ago> If two actors A and B send a message to an actor C and expect a response from it, they are sharing memory: what's in C's state. Ok in that respect there is just one big pile of shared memory in the whole world, isn't it (maybe except for military air-gaped system). It is the equivalent of saying if A makes an HTTP post to server C the it shares memory. Well ok, I am not sure what you mean by "shared memory", usually it means living in the same heap. So can access it via a pointer or reference.