[erlang-questions] Shared memory and message passing
Joel Reymont
joelr1@REDACTED
Wed Sep 6 00:18:34 CEST 2006
I thought Erlang as it is right now _does_ copy data. Am I mistaken?
Why the talk about about copying binaries, etc. otherwise?
On Sep 5, 2006, at 10:36 PM, Robert Virding wrote:
> I agree with Joe, the Erlang implementation can use whatever
> mechanisms it likes just as long as the semantics are unchanged.
> Actually this is no problem as Erlang does not allow updating of
> data. Single heap memory models never copy data from one process to
> another, they just pass the reference. Sending messages is an O(1)
> operation.
--
http://wagerlabs.com/
More information about the erlang-questions
mailing list