Better HN
topnewbestaskshowjobs
Log inSign up

davenoul

4 karma · joined Jul 18, 2023 (3y ago) · 3 submissions

Submissions

comment 3y ago · link · parent

Something along what Cuda, OpenCL or ISPC do, but integrated to the language.

comment 3y ago · link · parent

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 parallelism where coroutine cost to much :-)

comment 3y ago · link · parent

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.