Smalltalk Peer-to-Peer Networking
January 22, 2011
In the image above, there are four browsers open.
Clockwise from the top left:
— Opera running SST/Silverlight
— Firefox running SST/Silverlight
— Safari running SST/Silverlight
In each of the three SST/Silverlight browsers, I have opened a game board for ‘Tic-Tac-Toe’.
| dict |
dict := Dictionary new.
dict at: '0' put: 'S'.
dict at: '1' put: 'M'.
dict at: '2' put: 'A'.
dict at: '3' put: 'L'.
dict at: '4' put: 'L'.
dict at: '5' put: 'T'.
dict at: '6' put: 'A'.
dict at: '7' put: 'L'.
dict at: '8' put: 'K'.
Channel send: 't3-demo-1' msg: dict
And the Tic-Tac-Toe boards in each of the other browsers immediately changed to read “S-M-A-L-L-T-A-L-K”.
Once the other versions of Sillver Smalltalk are released (ActionScript, Java, and Objective-C) it should be possible to send Smalltalk objects amongst any of the current user environments:
— .Net desktop
Write once, run anywhere….?