@sakiamu @drahardja I paired mine with an Actor-style concurrency system. This simply worked by letting actors put things on top of each other's stacks.
Conceptually elegant - but it turned out to be hard to use in practice.
@sakiamu @drahardja I paired mine with an Actor-style concurrency system. This simply worked by letting actors put things on top of each other's stacks.
Conceptually elegant - but it turned out to be hard to use in practice.
@datarama @drahardja Yeah, I could see that getting a bit fiddly. A stack is not an inbox without some extra behaviors on top, like always yielding to the actor sent to, maybe a dedicated inbox stack, and/or some kind of transactionality semantics for actor turns.
@sakiamu @drahardja I experimented with a dedicated inbox queue, but what worked best was a pattern matching operator for the top-of-stack element.
Ironically, when I did a dedicated inbox queue with pattern matching and the Joy-style quotation mechanism that was the centrepiece, I realized that I had basically built a postfix version of Lisp-on-top-of-Erlang. :-)
@datarama @drahardja Postfix LFE is pretty sick as an idea, heh.
@sakiamu @drahardja And this was four years before actual LFE!