Swarm and Grand Central Dispatch

5 views
Skip to first unread message

Victor Escobar

unread,
Oct 12, 2009, 7:11:27 AM10/12/09
to Swarm Discussion
I wanted to get a discussion going on Swarm and how it could be
possibly used in conjunction with Apple's recently-opened Grand
Central Dispatch (GCD). Are the two platforms attempting to solve
different problems? Can they be used in tandem? Thoughts and comments
are welcome. :)

Rick Richardson

unread,
Oct 12, 2009, 4:02:43 PM10/12/09
to Swarm Discussion
I think they're trying to solve different problems. GCD is solving
the problem of task-level parallelization and concurrency on multiple
cores. In Swarm, distributed computation across (presumably) multiple
machines.
The techniques could be shared, but I would see this as almost
completely abstracted from a developer, the general idea being that
GCD could schedule continuations explicitly on different processors.
I'm not sure what, if anything, one would gain from this.
In fact, I vaguely recall Scala's Actors using a thread pool, so,
theoretically, if the jvm an OS scheduler doesn't suck, you could get
much of the same results as GCD, with the same abstraction from any
concurrency primitives.


Love the gmail account name, btw. I'm listening to Piper at the Gates
of Dawn as I type :)
Reply all
Reply to author
Forward
0 new messages