4 ms·
> Rank 3: Asynchronous messaging. When sending an outgoing message, it might be placed in a queue Arguments of a Smalltalk message can be "blocks" which are fu
by galaxyLogic 7y ago
> Rank 3: Asynchronous messaging. When sending an outgoing message, it might be placed in a queue
Arguments of a Smalltalk message can be "blocks" which are function-like objects. The receiver of a message carrying a block as argument can put the block into a list/queue and evaluate it any time in the future.
So that would seem to qualify as "asynchronous messaging" to me.
- inopinatus 7y agoBlocks are closures, so they are bound to the sender's environment. If we accept the definition given above they'd thereby fail the "message in a bottle" test.
- galaxyLogic 7y agoNot sure what exactly is the "message in a bottle" -test and why would we need one? I think it is a limitation of "bottle-mail" that you can not easily reply to the message. Of course sometimes all you have is a bottle and a piece of paper and the sea around you :-)