4 ms·
> But as far as I'm aware the memory for a message in Erlang is shared between threads - it's only local variables that use private memory No, the messages are
by waffle_ss 12y ago
> But as far as I'm aware the memory for a message in Erlang is shared between threads - it's only local variables that use private memory
No, the messages are truly copied: http://jlouisramblings.blogspot.dk/2013/10/embrace-copying.html http://jlouisramblings.blogspot.dk/2013/10/embrace-copying.h...
edit: the exception being large binaries apparently