Wed Dec 7 15:53:11 EST 2016

event-driven systems

Why is there such a dichotomy between:
1. dispatch of multiple events from a single wait point
2. wait for one specific event, then proceed sequentially

Likely this is artificial, e.g. these are two possible implementation
forms of event-driven programming.  When there is a clear ping-pong
going on, the latter is more straightforward as it allows recursive
decomposition, if the dispatcher handles more than one "client", the
direct dispatch is better.

There is a natural way to view these: they correspond respectively to
the callee and the caller in an RPC call.

So from there, maybe it is client systems that are better expressed
sequentially, and server systems that are better expressed with