macosparallel-processinggrand-central-dispatchcilk

Grand Central Dispatch versus Cilk++


Anybody have any thoughts on Grand Central Dispatch (which has now been open-sourced by Apple) and Cilk++? Comparisons/contrasts? Is Cilk more Windows-only?


Solution

  • The big innovation with GCD is that it includes kernel-level parallelism. There are a lot of parallelism libraries and parallel programming languages, but that is all application-level support. Rather than sticking a bunch of threads in a process into a pool and splitting them up among the processors, GCD has a shared pool of threads from throughout the entire system.