Click here to Skip to main content
15,886,584 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%



 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
Nemanja Trifunovic6-Jul-10 12:56
Nemanja Trifunovic6-Jul-10 12:56 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
Gary R. Wheeler6-Jul-10 13:46
Gary R. Wheeler6-Jul-10 13:46 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
Nemanja Trifunovic7-Jul-10 3:40
Nemanja Trifunovic7-Jul-10 3:40 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
Gary R. Wheeler7-Jul-10 13:54
Gary R. Wheeler7-Jul-10 13:54 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
John M. Drescher7-Jul-10 3:43
John M. Drescher7-Jul-10 3:43 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
Gary R. Wheeler7-Jul-10 14:04
Gary R. Wheeler7-Jul-10 14:04 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
peterchen9-Jul-10 4:23
peterchen9-Jul-10 4:23 
GeneralRe: Multithreaded programming isn't _that_ hard Pin
Gary Wheeler9-Jul-10 4:35
Gary Wheeler9-Jul-10 4:35 
peterchen wrote:
(does that label me "cargo cult" now?)


Certainly not.

peterchen wrote:
That's a lot of burden for libraries with "Unknown" reuse.


Agreed. I believe most library authors shouldn't bother with multithreading concerns, unless it's an expected attribute of the environment in which the library is going to be used. It's nice when the author documents any threading concerns for use in that environment.

As a matter of fact, when an author makes a library thread-safe it can actually make it more difficult to use it in a multithreaded environment, since the user no longer has control over the thread synchronization mechanisms used.
Software Zen: delete this;

GeneralParellism and MFC Pin
Marc Clifton5-Jul-10 10:36
mvaMarc Clifton5-Jul-10 10:36 
GeneralRe: Parellism and MFC Pin
Emilio Garavaglia5-Jul-10 20:11
Emilio Garavaglia5-Jul-10 20:11 
GeneralRe: Parellism and MFC Pin
Andre xxxxxxx5-Jul-10 22:02
Andre xxxxxxx5-Jul-10 22:02 
GeneralRe: Parellism and MFC Pin
Marc Clifton6-Jul-10 1:57
mvaMarc Clifton6-Jul-10 1:57 
GeneralRe: Parellism and MFC Pin
El Corazon6-Jul-10 5:43
El Corazon6-Jul-10 5:43 
GeneralRe: Parellism and MFC Pin
Marc Clifton6-Jul-10 5:58
mvaMarc Clifton6-Jul-10 5:58 
GeneralRe: Parellism and MFC Pin
El Corazon6-Jul-10 6:32
El Corazon6-Jul-10 6:32 
GeneralRe: Parellism and MFC Pin
Marc Clifton6-Jul-10 7:23
mvaMarc Clifton6-Jul-10 7:23 
GeneralRe: Parellism and MFC Pin
El Corazon6-Jul-10 7:37
El Corazon6-Jul-10 7:37 
GeneralRe: Parellism and MFC Pin
Marc Clifton6-Jul-10 7:48
mvaMarc Clifton6-Jul-10 7:48 
GeneralRe: Parellism and MFC Pin
peterchen9-Jul-10 4:15
peterchen9-Jul-10 4:15 
GeneralBad old threads Pin
Nemanja Trifunovic5-Jul-10 7:15
Nemanja Trifunovic5-Jul-10 7:15 
GeneralOnly Specific Parts of code and only if required. Pin
GPUToaster™4-Jul-10 22:49
GPUToaster™4-Jul-10 22:49 
GeneralRe: Only Specific Parts of code and only if required. Pin
peterchen4-Jul-10 22:58
peterchen4-Jul-10 22:58 
GeneralRe: Only Specific Parts of code and only if required. [modified] Pin
GPUToaster™5-Jul-10 0:31
GPUToaster™5-Jul-10 0:31 
GeneralRe: Only Specific Parts of code and only if required. Pin
El Corazon6-Jul-10 5:54
El Corazon6-Jul-10 5:54 
Generalparellelism myth PinPopular
ed welch4-Jul-10 22:14
ed welch4-Jul-10 22:14 

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.