[erlang-questions] The Beauty of Erlang Syntax

Tony Arcieri tony@REDACTED
Thu Feb 26 18:25:19 CET 2009

On Thu, Feb 26, 2009 at 9:08 AM, Joe Armstrong <erlang@REDACTED> 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
> easy
> 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.

Tony Arcieri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090226/89592899/attachment.htm>

More information about the erlang-questions mailing list