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

Nathaniel Waisbrot <>
Thu Sep 1 22:16:44 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.



http://stackoverflow.com/q/39255471/1220269

Are you the same person as "Sharas" who posted this question on StackOverflow, or are you just copy/pasting it to this list?

It seems like several people already put good effort into answering there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160901/f19f2859/attachment.bin>


More information about the erlang-questions mailing list