[erlang-questions] Why are messages between processes copied?
Wed Feb 22 23:32:03 CET 2012
It makes garbage collection much easier and more predictable as the
heaps of each process then can be completely isolated. There have been
attempts to make a hybrid heap which would allows non copy message
passing, but afaik the attempts have been abandoned.
On Wed, Feb 22, 2012 at 11:22 PM, H. Diedrich <> wrote:
> Hi list,
> I had naively thought that Erlang would be sending process messages around
> profiting from the fact that data is immutable and NOT copying it. And
> really just send a 'pointer'.
> Why is that not so, it should be a huge gain from immutable data, especially
> with bigger data. You don't have to copy, knowing that your data is
> Thanks for a link or a brief,
> erlang-questions mailing list
More information about the erlang-questions