[e-lang] Proposal: E / Erlang integration

Tony Finch <>
Fri Jun 9 03:26:33 CEST 2006


On Thu, 8 Jun 2006, Mark S. Miller wrote:
>
> When Erlang process X wishes to make a request and receive a response from
> process Y, X would make a new use-once process X2 which knows X's pid. X would
> then include X2's pid in the message to Y. When Y responds to X2, X2 would
> then wrap Y's response with a tag and send this response to X.
> [...]
> The above scheme would meet the hard requirements. But how practical would it
> be?

Ignoring efficiency, this has a similar effect to E's facets: it allows
you to be more careful about leaking authority than the default message
passing syntax, but it's a lot more clunky. The bigger problem (probably
a consequence of the clunkiness) is that the standard libraries and
code-structure idioms don't work in this object-capability way.

Tony.
-- 
f.a.n.finch  <>  http://dotat.at/
HUMBER THAMES DOVER: EAST OR SOUTHEAST 4 OR 5. FAIR. MODERATE OR GOOD, WITH
FOG PATCHES AT FIRST IN HUMBER.



More information about the erlang-questions mailing list