Something along what Cuda, OpenCL or ISPC do, but integrated to the language.
I think there is. How do you describe data parallelism? coroutine are too big when all your function call are doing the same things, but on a different data (think ISPC, shaders, cuda). There is still one more step in…
Don't forget that the important bit in Go is readability of the code. To me the range form is much easier to reason about than this for loop.
Something along what Cuda, OpenCL or ISPC do, but integrated to the language.
I think there is. How do you describe data parallelism? coroutine are too big when all your function call are doing the same things, but on a different data (think ISPC, shaders, cuda). There is still one more step in…
Don't forget that the important bit in Go is readability of the code. To me the range form is much easier to reason about than this for loop.