Parallel Implementation
In this stage, you are required to write code to evolve Game of Life using multiple worker goroutines on a single machine.
The following pages are some suggested steps to help you get started, you are not required to follow them.
Your implementation will be marked against the success criteria outlined here.
In Your Report
- Discuss the goroutines you used and how they work together.
- Explain and analyse the benchmark results obtained. You may want to consider using graphs to visualise your benchmarks.
- Analyse how your implementation scales as more workers are added.
- Briefly discuss your methodology for acquiring any results or measurements.
Note on measurements
You might notice that the program displays the average computation turns per second in the console.
Completed Turns 5883 Alive Cells 5567 Avg 980 turns/sec
This is intended to give you a general sense of how the program is performing compared to previous runs.
However, this measurement is informal and should NOT be used or cited in your report.
For formal analysis, please refer to the benchmark results.