4 ms·
Actor message passing "maps nicely" for use in procedure calls. For example Factor.[3] sends the message [3] to Factorial which sends back the return value 6.
by ProfHewitt 7y ago
Actor message passing "maps nicely" for use in procedure calls. For example Factor.[3] sends the message [3] to Factorial which sends back the return value 6. The procedural functions of Erlang are much more limited.
- senderista 7y agoSure, if functions are modeled as Actors. But I don't see the point of modeling the evaluation of a total mathematical function as asynchronous message passing (other than theoretical minimalism).
- ProfHewitt 7y agoAn Actor procedure need not be a mathematical function. For example, Random.[ ] could return a different result each time that it is invoked.