[erlang-questions] The Beauty of Erlang Syntax
Thu Feb 26 18:25:19 CET 2009
On Thu, Feb 26, 2009 at 9:08 AM, Joe Armstrong <> wrote:
> If you only had a synchronous RPC the code to do this would be a mess.
> The problem with RPCs is that the reply gets back to the sender - not
> somebody else.
> How do you do "compute this, but don't tell me the answer, send the
> result to somebody else"
> with synchronous RPCs - you can't.
> How do you handle failures in the middle of an RPC? - the erlang answer is
> How would you do this in Reia?
> At the bottom layer you have ! (send) and recieve
Reia also has ! (send) and receive which operate identically to Erlang, but
in addition to that supports the obj.method syntax as syntactic sugar for
RPCs. At the very least it's less ugly than Scala's !? operator for RPCs.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions