Grand Central Dispatch vs. Cilk ++

Anyone have any thoughts on the Grand Central Dispatch (which has now been opened by Apple) and Cilk ++? Comparisons / Contrasts? Is Cilk more Windows-only?

+2


source to share


2 answers


The big innovation with GCD is that it includes a parallelism kernel layer. There are many parallelism libraries and parallel programming languages ​​out there, but these are all application-level support. Rather than pushing a bunch of threads into a process in a pool and splitting them across processors, GCD has a shared pool of threads from the entire system.



+3


source


A side benefit, besides the task-level parallelism level that I use in all * NIX flavors, is runtime blocking , which I use extensively in ObjC and straight C code. C is such a good language; giving it functions of a higher order is like a gift from God;)



0


source







All Articles