This is part of my effort to write examples using channels in a variety of ways (#648).
I've been having some issues with getting worker-to-worker (core-to-core within a herd) data movement with channels to work. I managed to make it work, but the program is extremely brittle.
For instance, moving a deallocation sooner caused the program to work, where if I had my deallocations at the end, the output was all zeroes.
My code is found here: #697
The commit to move the dealloc ops that fixed the example is: 17162b1