Support for parallel processing

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Dreamland Fantasy
Enthusiast
Enthusiast
Posts: 335
Joined: Fri Jun 11, 2004 9:35 pm
Location: Glasgow, UK
Contact:

Support for parallel processing

Post by Dreamland Fantasy »

Hi there,

I would like to see support for parallel processing for users that have systems with multiple processors.

Check http://msdn.microsoft.com/msdnmag/issue ... fault.aspx for some info on this.

Kind regards,

Francis
r_hyde
Enthusiast
Enthusiast
Posts: 155
Joined: Wed Jul 05, 2006 12:40 am

Post by r_hyde »

Multicore processors will soon be ubiquitous, so built-in support for parallel processing would indeed be nice. For now, though, if you want to use PB and take advantage of multiple cores you'll have to roll your own solution using threads.
User avatar
Dreamland Fantasy
Enthusiast
Enthusiast
Posts: 335
Joined: Fri Jun 11, 2004 9:35 pm
Location: Glasgow, UK
Contact:

Post by Dreamland Fantasy »

I do use my own routines for multi-threaded calculations, but they are not all that pretty and I've had crashes on single processor systems (don't know why).

An easier way of doing it would be nice.

Kind regards,

Francis.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Second that, I have dual cores in all my computers, would be idea to have built in support.
Bonne_den_kule
Addict
Addict
Posts: 841
Joined: Mon Jun 07, 2004 7:10 pm

Post by Bonne_den_kule »

Agree, only the very low-end computers selling today are single-core.
Post Reply