[erlang-questions] Microsoft developer vision - functional programming
Sat Oct 20 17:36:08 CEST 2007
this would work if all the data stored in the global VM heap, but in Erlang
b/c of Soft Real-Time constraint, each process has it's own heap, so you
can't just pass pointer to object from another process' heap, which can be
garbage collected any time.
But Erlang have some optimizations, for large binaries, which are stored in
the global heap, and using reference counting for garbage collection.
Cameron Kerr-2 wrote:
> On Fri, Oct 19, 2007 at 10:42:42PM +0200, Hugh Perkins wrote:
> Please correct me if I'm wrong, but isn't one of the benefits of
> Erlang's (in particular) single-assignment restriction that you only
> need to pass around a pointer, and never need to copy the data (because
> the data cannot be modified once it is first assigned). Obviously, you
> would need to copy the data if sending to a different machine.
> Cameron Kerr <>
> Telecommunications Teaching Fellow
> University of Otago, New Zealand
> erlang-questions mailing list
View this message in context: http://www.nabble.com/Microsoft-developer-vision---functional-programming-tf4646804.html#a13311055
Sent from the Erlang Questions mailing list archive at Nabble.com.
More information about the erlang-questions