Week 14

  • Parallel Composition in Golang (one last thing to show you!)
    • implementing Legoland in golang presents a challenge: no PAR!
      • demo without PAR
      • demo with a PAR
        • and some lambdas…
        • PAR is blocking! (I forgot to show you this! and what happens…)
    • demo of sort pump with PAR and Replicated PAR
  • Due: today, or by end of study period
    • Tue, May 12, 11:59pm (latest I'm allowed to accept any coursework)
  • Logistics
    • submit electronically via submit377 script:
      $ submit377 final my-final 
    • email Marc to confirm your submission
  • The S'mores Problem
    • background clip from The Sandlot (S'mores scene): https://youtu.be/XlddDZkkxCc
    • implement using Ruby/Rinda where processes coordinate using tuples as semaphores to make S'mores
  • The Water Molecule Problem
    • chem background: Water molecule made up of two hydrogen atoms and one oxygen atom
    • represent atoms as Go processes that must coordinate to form a water molecule (also a Go process)
  • Any last questions?