Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Clindt

macrumors newbie
Original poster
Jul 18, 2005
3
0
I am very interested in any info regarding the new Grand Central technology, especially how it can be used as an application programmer.
 

yeroen

macrumors 6502a
Mar 8, 2007
944
2
Cambridge, MA
We all are, that and whatever GPGPU API they can conceive.

If you're a C++ programmer, you should, in the interim, check out Intel Threading Building Blocks (TBB) template library. It's open source, and taking a peek inside is quite instructive.
 

gnasher729

Suspended
Nov 25, 2005
17,980
5,565
I am very interested in any info regarding the new Grand Central technology, especially how it can be used as an application programmer.

So am I. But unless you've got a ticket for WWDC, there is no way to get that information legally.
 

MrRage

macrumors member
Jun 14, 2008
71
2
I'm sure if you start looking at the docs online you will start to see information about it pop up - but until Apple releases it don't expect to get any information about it.
 

Cromulent

macrumors 604
Oct 2, 2006
6,802
1,096
The Land of Hope and Glory
This is a guess but I would assume that Grand Central is just a higher level wrapper for OpenMP, especially seeing as Apple have been supporting a specific OpenMP distribution for a while now (the one included with Leopard).
 

elppa

macrumors 68040
Nov 26, 2003
3,233
151
Posted this on another thread, but anyway:

Grand Central Dispatch manages processes in a manner analogous to modern networking. Old telephone equipment used to use circuit switching to transmit information over networks; a dedicated circuit path is easy to set up but it is also expensive and potentially fragile. Modern networking uses packet switching, which breaks up data, phone conversations, or video streams into packets and routes each of them independently in a far more efficient way that is also resilient to network outages. Packets get routed around the problems.

Snow Leopard’s Grand Central Dispatch does the same thing for processes, packetizing tasks into Blocks and routing them to available processing cores as efficiently as possible. It can also manage the big picture for the whole system, adjusting how it balances its tasks as the performance load increases. This would be close to impossible for Individual developers to do themselves.

Source: WWDC 2008: New in Mac OS X Snow Leopard
 

Krevnik

macrumors 601
Sep 8, 2003
4,100
1,309
Interesting summary. Sounds like the core of it is a brand new scheduler in the kernel. Hopefully there will be some supporting user-level APIs which help a developer tap into the scheduler in an efficient manner. Something similar to the TBB syntax would be really nice as part of it.

I have a couple apps I would like to further parallelize, but writing the support code for it has been a challenge. I might look into TBB in the meantime.
 

electroshock

macrumors 6502a
Sep 7, 2009
641
0
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.