Week 11
Channels, CSP, and Go
- Peter Welch's Occam-pi Lecture Notes
- Assignment 5 posted
- Sort Pump Gophers PDF
- see a similar example in occam on slides 13–31 of PHW's replicators lecture notes
- questions?
- Due: Friday, Nov 18th
Linda and Tuple Space
- History
- proposed by David Gelernter Wikipedia
- while a PhD student at SUNY Stoneybrook
- now a professor at Yale
- overcome a great deal personally!
- origins of name
- off-color humor
- implementations
- C-Linda (Martin Schultz and David Gelernter)
- Ruby implementation no less off-color!
- communications decoupled in 3 dimensions:
- time
- space
- destination
- Lecture Notes: PDF
- Demo of Ruby/Rinda program
- from Wikipedia example:
http://en.wikipedia.org/wiki/Rinda_(Ruby_programming_language) - sample code: copy from my directory
$ cp -r /home/mlsmith/cs377-examples/rinda/ ~/cs377/