<div class="gmail_quote">On Thu, Feb 26, 2009 at 9:08 AM, Joe Armstrong <span dir="ltr"><<a href="mailto:erlang@gmail.com">erlang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you only had a synchronous RPC the code to do this would be a mess.<br>
<br>
The problem with RPCs is that the reply gets back to the sender - not<br>
somebody else.<br>
How do you do "compute this, but don't tell me the answer, send the<br>
result to somebody else"<br>
with synchronous RPCs - you can't.<br>
<br>
How do you handle failures in the middle of an RPC? - the erlang answer is easy<br>
<br>
How would you do this in Reia?<br>
<br>
At the bottom layer you have ! (send) and recieve<br>
</blockquote><div><br>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.<br>
</div></div><br>-- <br>Tony Arcieri<br>