2

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?

Kara
  • 6,115
  • 16
  • 50
  • 57

2 Answers2

3

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.

Chuck
  • 234,037
  • 30
  • 302
  • 389
0

An ancillary benefit, aside from the task-level parallelism, which I use in all sorts of *NIXes is the blocks runtime, which I use extensively in ObjC and straight C code. C is such a nice language anyways; to give it higher-order functions is like a gift from god ;)

Chris Mowforth
  • 6,689
  • 2
  • 26
  • 36