Hacker News new | past | comments | ask | show | jobs | submit login

Task parallelism is fine with the goroutine model, but not data parallelism, which is just as important if not more so. (Although note that task parallelism depends on having good locking strategies, and having more static checking than Go offers in this department is always nice...)

Why do we use GPUs, for example? Data parallelism. What have all the advances in video/audio codec implementation been the result of? Data parallelism again. What makes hashing fast? You guessed it...




I would have thought you could perfectly model data parallelism in terms of task parallelism though? But not the other way around.


Theoretically, yes. In practice, when performance matters, no.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: