Channels ▼  Clay Breshears  Dr. Dobb's Bloggers  Game of Life —
Distributed Lists  June 17, 2013  Printing Results  At some
point I will want to have the output results of the computed
generations displayed. The same initial two methods as the input
above also apply to the output. That is, one process can be in
charge of all output, printing the live grid cell coordinates
received from the other processes, or each process can perform
output of its own subgrid. The goal will be to print a coherent
picture much like the serial version of the code does. Using a
single process to do the output would appear to be easiest to
implement. Of course, the output process should not keep a copy
of the entire grid in memory. (If it did, why distribute the
computations in the first place?) Rather, the process should
accept messages containing lists of live grid cells from each
other process and use that data to print. This may involve
sorting the data depending upon how the grid was divided and how
the message(s) are sent/r