Click here to Skip to main content
15,880,608 members

Survey Results

Parallelising your code. Do you do it?   [Edit]

Survey period: 5 Jul 2010 to 12 Jul 2010

Our CPUs aren't getting as fast as fast as they used to, and we're now well and truly in a multi-core world. What do you do to take advantage of this? (Suggested by El Corazon)

OptionVotes% 
I specifically write code that runs in parallel22935.95
I use a language and compiler that supports parallisation automatically ( eg Intel compilers)558.63
I use libraries (eg PLINQ) that provide parallisation support8613.50
I use a framework or runtime (eg Parallel Extensions for .NET) that provide parallisation support15724.65
I let my operating system do what it can33953.22
I let my hardware do what it can18529.04
Not even my hardware can help me.497.69
Respondents were allowed to choose more than one answer; totals may not add up to 100%



 
GeneralMulti-thread programming is not for your average Dilbert [modified] Pin
Walter Capers9-Jul-10 8:27
Walter Capers9-Jul-10 8:27 
GeneralI must confess... Pin
drummerboy05118-Jul-10 10:38
professionaldrummerboy05118-Jul-10 10:38 
GeneralOnly 41 to confess that 'Not even my hardware can help me.' Pin
leppie7-Jul-10 20:26
leppie7-Jul-10 20:26 
GeneralNot a issue for me personally on current projects Pin
Mike Diack7-Jul-10 5:43
Mike Diack7-Jul-10 5:43 
GeneralMy question came through?? That was fast! Pin
El Corazon6-Jul-10 5:33
El Corazon6-Jul-10 5:33 
GeneralAm I the only one that thinks it makes things easier to code? Pin
QuiJohn6-Jul-10 5:19
QuiJohn6-Jul-10 5:19 
GeneralRe: Am I the only one that thinks it makes things easier to code? Pin
El Corazon6-Jul-10 5:39
El Corazon6-Jul-10 5:39 
GeneralMessage Removed Pin
8-Jul-10 11:22
professionalN_tro_P8-Jul-10 11:22 
GeneralHmmmm Pin
RugbyLeague6-Jul-10 5:01
RugbyLeague6-Jul-10 5:01 
JokeRe: Hmmmm Pin
El Corazon6-Jul-10 5:06
El Corazon6-Jul-10 5:06 
GeneralRe: Hmmmm Pin
RugbyLeague6-Jul-10 5:31
RugbyLeague6-Jul-10 5:31 
GeneralRe: Hmmmm Pin
Dan Neely9-Jul-10 5:15
Dan Neely9-Jul-10 5:15 
GeneralConfessional Pin
W Balboos, GHB6-Jul-10 3:19
W Balboos, GHB6-Jul-10 3:19 
GeneralRe: Confessional Pin
RedSonja6-Jul-10 23:06
RedSonja6-Jul-10 23:06 
GeneralMultithreaded programming isn't _that_ hard PinPopular
Gary R. Wheeler6-Jul-10 2:15
Gary R. Wheeler6-Jul-10 2:15 
I think multi-threaded programming has gotten a bad rap, largely due to the cargo cult programmers filling the rosters out there. If they can't cut/copy/paste a solution into their app, whether it's appropriate or not, they say the technology's too difficult to use or worthless. This has led to all sorts of efforts to cover up the messy details with programming libraries, language features, or entire languages.

There is a substantial learning curve, but doing multi-threaded programming properly isn't impossible. I believe the hardest part of it is deciding which activities should be in which threads. Those decisions need to be made to balance the workload over the available resources, minimizing overhead. I don't believe any of the new solutions being offered improve on this essential requirement. If the developer makes poor choices on what he 'parallelizes', the application will still perform badly, regardless of the technique.

I'll admit my point of view is probably biased. The applications I've worked on for the last 10 years or so have all been multi-process and multi-threaded process control systems. Even the user interfaces tend to be multi-threaded, with UI stuff in one thread, communications in other threads, and worker activities in more threads as needed.
Software Zen: delete this;
Fold With Us![^]

GeneralMultithreaded programming isn't _parallelism_ Pin
r_hyde6-Jul-10 3:43
r_hyde6-Jul-10 3:43 
GeneralRe: Multithreaded programming isn't _parallelism_ Pin
Gary R. Wheeler6-Jul-10 3:51
Gary R. Wheeler6-Jul-10 3:51 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
Paul Reeder6-Jul-10 3:55
Paul Reeder6-Jul-10 3:55 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
Gary R. Wheeler6-Jul-10 4:01
Gary R. Wheeler6-Jul-10 4:01 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
El Corazon6-Jul-10 5:02
El Corazon6-Jul-10 5:02 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
El Corazon6-Jul-10 4:58
El Corazon6-Jul-10 4:58 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
Gary R. Wheeler6-Jul-10 13:53
Gary R. Wheeler6-Jul-10 13:53 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
El Corazon6-Jul-10 15:23
El Corazon6-Jul-10 15:23 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
Gary R. Wheeler7-Jul-10 13:50
Gary R. Wheeler7-Jul-10 13:50 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
El Corazon7-Jul-10 14:08
El Corazon7-Jul-10 14:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.