[erlang-questions] examples for erlang with joins

Valentin Micic v@REDACTED
Mon Mar 9 08:07:16 CET 2009

I'd like to add one more concern: considering operational characteristics of
Erlang VM, I think that adding support for join patterns at such a low level
(i.e. receive...end construct) may cause performance degradation.
It may be safer (at least at this point) to achieve this as a part of
post-receive processing, by having some form of, say, correlation context,
as hinted by Richard. Bad (or IMO good) news is that this would not be part
of the language syntax.


-----Original Message-----
From: erlang-questions-bounces@REDACTED
[mailto:erlang-questions-bounces@REDACTED] On Behalf Of Richard O'Keefe
Sent: 09 March 2009 04:04 AM
To: Hubert Plociniczak
Cc: erlang-questions@REDACTED
Subject: Re: [erlang-questions] examples for erlang with joins

This sounds like essentially the same problem as
matching production rules (look for the RETE algorithm
and its successors).

There's one thing that troubles me, and doubtless it is
addressed in the semantics, but when you are matching
multiple messages, it's no longer clear which is the
*first* match.

erlang-questions mailing list

More information about the erlang-questions mailing list