5 ms·
describe message driven paradigms, not event driven ones Messages are events. Reactive programming - you mean like reactive like reactive manifesto? That see
by tbrownaw 12y ago
describe message driven paradigms, not event driven ones
Messages are events.
Reactive programming - you mean like reactive like reactive manifesto?
That seems to be more about idealized system properties than about a style of programming. (Plus at least one bit of silliness, w.r.t. blocking / non-blocking being inherently inequal.)
- acjohnson55 12y agoNot exactly. Messages and events are dual to each other. Messages are sender centric. The sender determines the links to the receivers. The receiver listens regardless of who's sending. Events are receiver centric. The receiver explicitly chooses what senders to listen to. The sender fires off events without regard for who's listening. I'm not sure how much distinction actually matters in terms of expressive power, but it does seem to impact how the paradigms are used in practice.
- Nemcue 12y ago> The receiver explicitly chooses what senders to listen to. Not necessarily. The receiver could just specify what kind of messages to receive instead, and be decoupled from the sender.