[erlang-questions] What is the point of Spawn(Node, Fun) if Node has to have the same module loadable as a client node?

nesvarbu Pavarde <>
Thu Sep 1 20:00:08 CEST 2016

Why create illusion that you are sending a Fun to remote node to execute in
a new process? If client node has to have same module loadable with the Fun
defined as a server node anyway. Why not only spawn(Node, M, F, A) then,
which makes it clear that you are sending a definition of a function call,
not Fun itself.
I am experimenting with distributed Erlang and want it to pass clojures
around "willy nilly", even through network. "Code is data" kinda thing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160901/d3e2e0f9/attachment.html>

More information about the erlang-questions mailing list